Optional
arrayOptional
collationSpecifies a collation.
The filter to limit the updated documents.
Optional
hintThe index to use. If specified, then the query system will only consider plans using the hinted index.
The modifications to apply. The value can be either:
UpdateFilter
Optional
upsertWhen true, creates a new document if no document matches the query.
A set of filters specifying to which array elements an update should apply.