Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MongoDB Commands
# Start MongoDB Shell
mongo
# Get MongoDB version
mongo --version
# Show Mongo Databases (from MongoDB Shell)
show dbs
# Create DB `parse` and Insert Data to `users` collection
use parse
db.users.insert({"name":"Niraj Shah"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.