Interface updateManyOptions

Configuration object for methods that update many documents at once.

BigfootDS

interface updateManyOptions {
    limit: number;
    upsert: boolean;
}

Properties

Properties

limit: number

A number to limit how many documents should be updated during an updateMany operation.

BigfootDS

upsert: boolean

During the requested update operation, if no document already exists that matches the query, this controls whether or not a new document should be created. If true: a new document is created. If false: no new document is created.

BigfootDS