Answers for "create collection in mongodb stack overflow"

0

create collection in mongodb stack overflow

> use testdb
switched to db testdb
> db.createCollection("testcollection")
{ "ok" : 1 }
> db.getCollectionNames()
[ "system.indexes", "testcollection" ]
>
Posted by: Guest on May-01-2020

Browse Popular Code Answers by Language