+ 1

How to create and populate a mongodb database using a script (script.js)

I had created an application using Play Framework, MongoDB, AngularJS and Bootstrap. I want to create and populate the database using the script.

27th Dec 2017, 5:39 PM
Rasanga Abeykoon
1 Resposta
+ 1
Basically, you will have to write script as a cmd or bat file using an editor such as notepad, then execute it from the Mongo Shell. The following video can help you gather what to put in the script file: https://m.youtube.com/watch?v=pWbMrx5rVBE
29th Dec 2017, 1:37 AM
Zinc
Zinc - avatar