Interface updateOptions

Configuration object for methods that update a singular document at a time.

BigfootDS

interface updateOptions {
    upsert: boolean;
}

Properties

Properties

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