美文网首页
【mongoDB】MongoDB 运行 js 脚本

【mongoDB】MongoDB 运行 js 脚本

作者: 放纵不基 | 来源:发表于2021-01-10 13:19 被阅读0次

MongoDB YAML格式的配置文件

https://chengchaos.github.io/2020/07/05/monog-config-simple.html

https://www.cnblogs.com/guangshan/p/4842911.html

MongoDB 运行 js 脚本

https://chengchaos.github.io/2020/06/12/mongo-run-script.html

注意:在 Mongo Shell 中使用的 use admin、 show users、show collections 指令以及类似的指令不能出现在 js 文件中。

因为它不是 JavaScript 语法,我们只能在 js 文件调用对应的方法去执行相应的操操作。

MongoDB编写并执行js脚本

https://www.jianshu.com/p/de30dc39c169

Write Scripts for the mongo Shell

https://docs.mongodb.com/manual/tutorial/write-scripts-for-the-mongo-shell

MongoDB创建和查看数据库

http://c.biancheng.net/view/6549.html

MongoDB操作手册

https://www.zhihu.com/column/dashidan-mongo

mongo命令行运行JavaScript脚本

https://zhuanlan.zhihu.com/p/30566569

相关文章

网友评论

      本文标题:【mongoDB】MongoDB 运行 js 脚本

      本文链接:https://www.haomeiwen.com/subject/pdvkaktx.html