Skip to content

Instantly share code, notes, and snippets.

View akankshach29's full-sized avatar

Akanksha Choudhary akankshach29

View GitHub Profile
@akankshach29
akankshach29 / mongodbcommands.txt
Created August 21, 2017 06:29
Mongo DB commands frequently used
Mongo DB unlike relational database, is a JSON-like document oriented database. The mongo shell is an interface used to add, query, update, etc data.
Here’s a cheat sheet of Mongo Shell commands often used:
1 Login to the server
2 Type `mongo` to get the mongo terminal
To create a new database:
use database_name
To See the list of all database present: