Type alias CollectionUpdateOneOptions

CollectionUpdateOneOptions: GenericUpdateOneOptions

Options for an updateOne command on a collection.

Field

upsert - If true, perform an insert if no documents match the filter.

Field

sort - The sort order to pick which document to update if the filter selects multiple documents.

Field

timeout - The timeout override for this method

See

Collection.updateOne