Find one and update document

Finds and update the first document that matches a given query. When returnNew = true, returns the updated document instead of the original document.

See full list.

Additional Information