Mongo

MongoDB is Web Scale.

Cheat Sheet

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)

Last updated

Was this helpful?