I want to load lodash while db scripting in RoboMongo's shell.
I've tried doing load('lodash.min.js') in my db script, but the shell doesn't see the library. The db script and the library are in the same directory.
What I did as a workaround for now, was to set the absolute path for loading the library.
load('/absolute/path/to/the/library/');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With