[英]Which MongoDB Driver for Node.js?
The choices are over whelming. 选择结束了。 I looked at Mongoose and didn't like b/c I don't want I should have to model data when using Mongo.
我看了Mongoose并且不喜欢b / c我不希望我在使用Mongo时需要建模数据。 Any help is appreciated :)
任何帮助表示赞赏:)
There is really only one node.js MongoDB driver . 实际上只有一个node.js MongoDB驱动程序 。
There are several other tools that sit on top of this driver. 还有其他几种工具可以放在这个驱动程序之上。
Good list of MongoDB/Node.JS tools here . MongoDB中的/ Node.js的工具好名单这里 。
Correct nodejs mongodb driver as of 2019 : 从2019年开始纠正nodejs mongodb驱动程序:
The official MongoDB driver for Node.js https://github.com/mongodb/node-mongodb-native
Node.js的官方MongoDB驱动程序 https://github.com/mongodb/node-mongodb-native
Then you may want to use node.js' native mongodb driver , which is the underlying driver upon which mongoose is built. 然后你可能想使用node.js的本机mongodb驱动程序 ,它是构建mongoose的底层驱动程序。 You can also search on the npm registry for more options.
您还可以在npm注册表中搜索更多选项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.