1.

The mongo program can evaluate JavaScript expressions using the command line ________ option.(a) –opt(b) –js(c) –eval(d) None of the mentionedI have been asked this question by my school principal while I was bunking the class.My doubt stems from Security and MongoDB API Interfaces in division Production Checklist, Security Concepts and Network Security of MongoDB

Answer» RIGHT OPTION is (c) –eval

The explanation is: The MONGO program can EVALUATE a JavaScript file (.js) passed directly to it (e.g. mongo someFile.js).


Discussion

No Comment Found

Related InterviewSolutions