What does the following query do when performed on the posts collection? db.posts.update({_id:l},{Title:This is post with ID 1"})
Syntax error
Replaces the complete document with _id as 1 with the document specified in second parameter
Updates the Title of the post
Updating a document is possible only with $set
Submit