SDN302_-_FA_2024_-_Block_5_-_FE_3224.webp
B

SDN302_-_FA_2024_-_Block_5_-_FE_3224.webp

Kizspy | Question: 10
(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.

Thông tin

Category
SDN302
Thêm bởi
Bích Thủy
Ngày thêm
Lượt xem
4,045
Lượt bình luận
17
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom