Skip to content

Instantly share code, notes, and snippets.

View passion8's full-sized avatar

Paritosh Piplewar passion8

View GitHub Profile
Mongo db console commands
//showing the existing dbs..
show dbs
//use test
switching to db test, (only creating it when actually adding new data)
//prompts the name of the working db now
db
//the fllw would prompt the count(), in the link2 collection, in the current db...
>db.links2.count()