OptionalcollationThe filter that specifies which document to replace. In the case of multiple matches, the first document matched is replaced.
OptionalhintThe 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.
OptionalsortSpecifies the sort order for the documents matched by the filter.
OptionalupsertWhen true, creates a new document if no document matches the query.
Specifies a collation.