📌  相关文章
📜  TypeError: db.collection Name is not a function - Javascript 代码示例

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

代码示例1
db.listCollections().toArray(function(err, collections){
    //collections = [{"name": "coll1"}, {"name": "coll2"}]
});