Mongo
Last updated
Was this helpful?
Last updated
Was this helpful?
MongoDB is .
For the mongo
command-line tool.
Command
What it does
show dbs
Show all databases available
use <db>
Use the selected database
db
Show currently selected database
show collections
List all tables collections
db.collection.find(query)
Execute a query on the collection
(or empty to show all)