MongoDB Tutorial 19 : Executing MongoDB shell commands from Javascript file
shell command to execute the script :
mongo 127.0.0.1/my-profile-db --username='username' --password='pwd' mongodb-script.js
mongodb-script.js will contains the set of queries that we want to get execute in mongo.
Comments
Post a Comment