📅  最后修改于: 2022-03-11 14:56:01.782000             🧑  作者: Mango
> use testdb
switched to db testdb
> db.createCollection("testcollection")
{ "ok" : 1 }
> db.getCollectionNames()
[ "system.indexes", "testcollection" ]
>