Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UpdateStatement

Hierarchy继承层级

  • UpdateStatement

Index索引

Properties属性

arrayFilters?: Document[]

An array of filter documents that determines which array elements to modify for an update operation on an array field.筛选器文档的数组,用于确定要修改哪些数组元素以进行数组字段的更新操作。

collation?: CollationOptions

Specifies the collation to use for the operation.指定用于操作的排序规则。

hint?: Hint

A document or string that specifies the index to use to support the query predicate.指定用于支持查询谓词的索引的文档或字符串。

multi?: boolean

If true, updates all documents that meet the query criteria.如果为true,则更新符合查询条件的所有文档。

The query that matches documents to update.匹配要更新的文档的查询。

The modifications to apply.要应用的修改。

upsert?: boolean

If true, perform an insert if no documents match the query.如果为true,则在没有与查询匹配的文档时执行插入。

Generated using TypeDoc