Optional
collationThe filter to limit the replaced document.
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
upsertWhen true, creates a new document if no document matches the query.
Generated using TypeDoc
Specifies a collation.