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

Popular posts from this blog

Hive Tutorial 31 : Analytic Functions

Hive Tutorial 37 : Performance Tuning