Answers for "mongodb from command line"

Go
0

open mongodb in cmd

1) Go to MongoDB bin folder:
		C:Program FilesMongoDBServer3.2bin
2) Enter command mongod
		By default, mongodb server will start at port 27017
Posted by: Guest on April-28-2021
0

mongo query from command line

mongo --eval 'db.mycollection.update({"name":"foo"},{$set:{"this":"that"}});' myDbName
Posted by: Guest on June-30-2021

Code answers related to "mongodb from command line"

Browse Popular Code Answers by Language