Created
February 1, 2016 10:52
-
-
Save niraj-shah/aa748cf2008d379489fd to your computer and use it in GitHub Desktop.
MongoDB Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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