This file contains hidden or 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
| 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() |