Mention what is the command syntax for inserting a document?
Answer Posted / Suresh Chandra Dubey
To insert a document into MongoDB, use the `db.collection.insertOne()` or `db.collection.insertMany()` method with the JSON representation of your document as an argument.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers