Complete the code to insert a document with a custom _id value.
db.collection.insertOne({ _id: [1], name: "Alice" })The _id field can be set to a custom string like "user123" to uniquely identify the document.
Complete the code to find a document by its custom _id value.
db.collection.findOne({ _id: [1] })To find a document with a custom string _id, use the exact string value in quotes.
Fix the error in the code to insert a document with a custom numeric _id.
db.collection.insertOne({ _id: [1], name: "Bob" })The _id can be a number like 123 without quotes to be numeric.
Fill both blanks to update a document's name using its custom _id.
db.collection.updateOne({ _id: [1] }, { $set: { name: [2] } })Use the current _id value to find the document and set the new name as a string.
Fill all three blanks to insert a document with a custom _id, name, and age.
db.collection.insertOne({ _id: [1], name: [2], age: [3] })Insert a document with a string _id, string name, and numeric age.
