📌  相关文章
📜  client.connect 不是函数节点 js mongodb - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:16.951000             🧑  作者: Mango

代码示例2
//Just add this line of code and client.connect and 
//-other dot functions will work

var mongo = require('mongodb').MongoClient;