What does the upsert option do in an update operation in MongoDB? - Study24x7
Social learning Network
5 followers study24x7 04 Dec 2024 01:17 PM study24x7 study24x7

What does the upsert option do in an update operation in MongoDB?

A

Updates an existing document, otherwise does nothing

B

Updates all matching documents

C

Inserts a new document if no match is found

D

Deletes the document if it exists

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles