MongoDb
Revision as of 20:01, 27 April 2015 by Nicolas Rollin (talk | contribs) (Created page with "* Connect to a mongodb <pre>mongodb</pre> * Display dabases <pre>show dbs</pre> * Connect to a database <pre>use database</pre> * List Tables (Collections) <pre>show collectio...")
- Connect to a mongodb
mongodb
- Display dabases
show dbs
- Connect to a database
use database
- List Tables (Collections)
show collections
- Display content of a table
db.collection.find()
- Remove Tables (Collections)
db.collection.drop()
- Remove Database (Collections)
db.dropDatabase()