Mongodb
Basic commands on mongo shell Show all available databases: show dbs; Select a particular database to access, e.g. mydb. This will create mydb if it does not already exist: use mydb; Show all collections in the database (be sure to select one first, see above): show collections; Show all functions that can be used with the database: db.my db.help(); To check your currently selected database,use the command db > db mydb db.dropDatabase() command is us ed to drop a existing database. db.dropDatabase() insert collection We add tworecords to our collection test as: >db.test.insert({"key":"value1","key2":"Val2","key3":"val3"}) WriteResult({ "nInserted" : 1 }) > db.test.insert({"key":"value2","key2":"Val21","key3":"val31"}) WriteResult({ "nInserted" : 1 }) If we see them via find, they will look very...