MongoDB No-SQL Database

Tools, techniques, software and other resources that are useful to support computing professionals create and maintain large shared databases

Installing and Using MongoDb

  1. Install MongoDb: download it from the MongoDB website and install.
  2. mongod.exe: execute this file from the command prompt in windows using --dbpath "filepath" where filepath is the name of the mongodb folder used to store mongoDB databases.
  3. mongo.exe: leave the mongod command window open, and open another command line window to load mongo the mongoDB command line shell.
    • use database
    • db.getCollection("collectionName");
    • db.collectionName.find()

Example of mongo.exe

mongo.exe example