Execute commands in mongodb.loadServerScripts()
Error reporting:SyntaxError: missing } after property list src/mongo/shell/db.js:1038
The problem caused by this error is the addition of a new mongo function.xxxx
After that, the next call to this function will be prompted:ReferenceError: xxxx is not defined (shell):1
However, the mongodb function previously added is not affected.
`
Look at the error message, there should be a syntax error in the script.
Check it outxxx
And where is the code near it missing}
Right.