Kizspy | Question: 7
(Choose 2 answers)
Which statements correctly describe how to create a new database and collection in MongoDB?
A. A new database is created automatically when you insert data into a collection in that database.
B. You must manually create a database before creating a collection.
C. A new collection is created using the createCollection() method.
D. A new collection is created using the addCollection() method.