Question: The following command creates a collection called _ _ _ _ _ _ and inserts a document with the name _ _ _ _ _
The following command creates a collection called and inserts a document with the name and value in that collection.
dbintro.insert message : "Hello world of MongoDB"
WriteResult "nInserted" :
a message, intro, Hello world of MongoDB
b Hello world of MongoDB, intro, message
c intro, message, Hello world of MongoDB
d intro, message, nInserted
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
