What is the output of following two commands in MongoDB: db. posts. insert({n_id " :l}) db.posts.insert({ " _id " :l})
Two documents will be inserted with _id as 1
MongoDB will automatically increment the _id of the second document as 2
This will throw a duplicate key error
It will insert two documents and throw a warning to the user
Submit