Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UpdateManyModel<TSchema>

Type parameters

Hierarchy继承层级

  • UpdateManyModel

Index索引

Properties属性

arrayFilters?: Document[]

A set of filters specifying to which array elements an update should apply.一组筛选器,指定更新应应用于哪些数组元素。

collation?: CollationOptions

Specifies a collation.指定排序规则。

filter: Filter<TSchema>

The filter to limit the updated documents.用于限制更新文档的筛选器。

hint?: Hint

The index to use. If specified, then the query system will only consider plans using the hinted index.要使用的索引。如果指定,查询系统将只考虑使用提示索引的计划。

update: UpdateFilter<TSchema> | UpdateFilter<TSchema>[]

A document or pipeline containing update operators.包含更新运算符的文档或管道。

upsert?: boolean

When true, creates a new document if no document matches the query.true时,如果没有与查询匹配的文档,则创建一个新文档。

Generated using TypeDoc