Google News
logo
MongoDB - Quiz(MCQ)
______ is used to load all the scripts saved in the system.js collection for the current database.
A)
db.loadScripts()
B)
db.loadServerScriptsjs()
C)
db.loadServerScripts()
D)
None of the above

Correct Answer :   db.loadServerScripts()


Explanation : The documents in the system.js collection provide functions that your applications can use in any JavaScript context with MongoDB in this database.

Advertisement