Optional
collationThe filter that specifies which document to replace. In the case of multiple matches, the first document matched is replaced.
Optional
hintThe index to use. If specified, then the query system will only consider plans using the hinted index.
The document with which to replace the matched document.
Optional
sortSpecifies the sort order for the documents matched by the filter.
Optional
upsertWhen true, creates a new document if no document matches the query.
Specifies a collation.