MongoDB C100DBA Question Answer
Which of the following is a valid insert statement in mongodb? Select all valid.
db.test.push({x:2,y:"apple"})
db.test.insert«"x":2, "y":"apple"})
db.test.insert({x:2,y:"apple"})
db.test.insert({x:2},{y:"apple"})
TESTED 20 Oct 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved