Mongo queries

To connect to mongo on the command-line: mongo <database name>   To show the collections in the database: show collections   To find documents in a collection: db.collection.find() eg db.users.find()   To update… Read more