📜  列出 MongoDB shell 中的所有集合 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:10.885000             🧑  作者: Mango

代码示例2
JavaScript (shell):
db.getCollectionNames()

Node.js:
db.listCollections()