premaseem.wordpress.com
How to write and execute mongoDB scripts
There are times when we need to save the steps or commands of mongo shell and need to get it executed in the same order (for reusability and automation and avoid errors). The best solution is to sa…