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.要使用的索引。如果指定,则查询系统将只考虑使用提示索引的计划。
A document or pipeline containing update operators.包含更新运算符的文档或管道。
Optional
upsertWhen true, creates a new document if no document matches the query.如果为true
,则在没有与查询匹配的文档的情况下创建新文档。
Generated using TypeDoc
A set of filters specifying to which array elements an update should apply.一组筛选器,指定更新应应用于哪些数组元素。