Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UpdateStatement

Hierarchy

  • UpdateStatement

Index

Properties

Optional arrayFilters

arrayFilters?: Document[]

An array of filter documents that determines which array elements to modify for an update operation on an array field.

Optional collation

collation?: CollationOptions

Specifies the collation to use for the operation.

Optional hint

hint?: Hint

A document or string that specifies the index to use to support the query predicate.

Optional multi

multi?: boolean

If true, updates all documents that meet the query criteria.

q

The query that matches documents to update.

u

The modifications to apply.

Optional upsert

upsert?: boolean

If true, perform an insert if no documents match the query.

Generated using TypeDoc