Type alias CollectionFindOneAndDeleteOptions

CollectionFindOneAndDeleteOptions: GenericFindOneAndDeleteOptions

Represents the options for the findOneAndDelete command.

Field

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

Field

projection - Specifies which fields should be included/excluded in the returned documents.

Field

timeout - The timeout override for this method

See

Collection.findOneAndDelete