富足,平衡,接受自己,三斗计划,享受心流的乐趣
参考:https://docs.mongodb.com/manual/tutorial/write-scripts-for-the-mongo-shell/
You can specify a .js file to the mongo shell, and mongo will execute the JavaScript directly. Consider the following example:
.js
mongo
mongo localhost:27017/test myjsfile.js
没有评论:
发表评论