84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
在mongo中执行命令db.loadServerScripts()报错:SyntaxError: missing } after property list src/mongo/shell/db.js:1038这个错误导致的问题是新增加一个mongo函数xxxx之后,接着调用这个函数就会被提示:ReferenceError: xxxx is not defined (shell):1但是之前添加的mongodb函数不受影响。`
db.loadServerScripts()
SyntaxError: missing } after property list src/mongo/shell/db.js:1038
xxxx
ReferenceError: xxxx is not defined (shell):1
Look at the error message, it should be that there is a syntax error in the script. Check it outxxx和它附近的代码哪里缺了}.
xxx
}
Look at the error message, it should be that there is a syntax error in the script.
Check it out
xxx
和它附近的代码哪里缺了}
.