[英]Do I need to install nodejs mongodb driver to use in node apps when I have mongoDB installed on my computer?
我在我的计算机上安装了 mongoDB 但是在使用 node.js 时我需要安装 node.js ZB9EF13A61347827DA7DZ4CD5Epm 驱动程序吗?
如果您想连接数据库并与之交互,我会推荐 mongoose。 您可以使用npm install mongoose
安装它。 要开始,请阅读文档: https://mongoosejs.com/docs/guide.html
您只需要安装 mongodb 企业版,您还可以下载 gui db 随附的 mongodb comapss,无需使用 cli 即可与您的收藏进行交互,这很棒。 You can download it from here: https://www.mongodb.com/try/download/compass Just download as it is donot go for custom one as it includes mongodb server and other things you might required.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.