Execute script in js file on MongoDB server and view output in shell -


i have script can run on mongo command line follows :

load("test/my.js")

the script executes , returns true. however, see output of script in mongo shell. possible ?

thanks.

for output please use printjson.


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

python - Received unregistered task using Celery with Django -