Optional
arrayOptional
collationSpecifies the collation to use for the operation.
Optional
hintA document or string that specifies the index to use to support the query predicate.指定用于支持查询谓词的索引的文档或字符串。
Optional
multiIf true, updates all documents that meet the query criteria.如果为true
,则更新符合查询条件的所有文档。
The query that matches documents to update.与要更新的文档匹配的查询。
The modifications to apply.要应用的修改。
Optional
upsertIf true, perform an insert if no documents match the query.如果为true
,则在没有与查询匹配的文档的情况下执行插入。
Generated using TypeDoc
An array of filter documents that determines which array elements to modify for an update operation on an array field.筛选文档的数组,用于确定要为数组字段的更新操作修改哪些数组元素。