
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
mongo-runner
Advanced tools
Mongo Runner is a VSCode plugin helps developers to connect to their MongoDB instance to do some basic operations such as: simple query
, tree topology
, index
, server statistics
etc.
Mongo Runner provides general operations about using MongoDB. It can connect to Mongo Single Instance, Mongo Replicaset and Mongo Shard Cluster.
For example below is a sceenshot of Mongo Shard Cluster Topology:
By open MongoDB Runner editor, you can running MongoDB NodeJS driver inside VSCode and get the output on the right view.
NA
Setup MongoDB Connection in your workspace setting. Be aware that the name for each connection need to be unique.
"mongoRunner": {
"connections": [
{
"name": "connection1",
"url": "mongodb://localhost:27017/test"
},
{
"name": "connection2",
"url": "mongodb://localhost:27018/test"
}
]
}
In order to secure user's password, we don't support put password in the configuration file as plain text. Instead, when you specify the user name in the configuration file, MongoDB Runner
will prompt you to input the password.
For SSl connection, please use options
configuration. You can also put all other mongo connection options there.
"mongoRunner": {
"connection": [{
"name": "connectionName",
"url": "mongodb://localhost:27017",
"user": "username",
"options": {
"ssl": true
}
}]
}
"mongoRunner": {
"connection": [{
"name": "connectionName",
"url": "mongodb://localhost:27017",
"user": "username",
"options": {
"sslCert": "/Users/Document/mongodb.pem",
"sslKey": "/Users/Document/mongodb-cert.key",
"ssl": true
}
}]
}
User below format for querying ObjectId
:
{ "_id": new ObjectID("5ba2bfcf6d2a0312c7ec12c6") }
Please submit any issues you found or any suggestions on github issues.
While MongoDB Runner is generously offered to everyone free of charge, if you find it useful, please consider supporting it.
Feel free join slack channel for MongoDB Runner
at: mongodb-runner.slack.com
FAQs
MongoDB Runner is a VSCode extension to connect MongoDB instance.
We found that mongo-runner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.