Interface UpdateStatement

Hierarchy

  • UpdateStatement

Properties

arrayFilters?: mongoose.mongo.BSON.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.

The query that matches documents to update.

The modifications to apply.

upsert?: boolean

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

Generated using TypeDoc