import { type DeleteOptions } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";
Properties
Optional. If true, then when a delete statement fails, return without performing the remaining delete statements. If false, then when a delete statement fails, continue with the remaining delete statements, if any. Defaults to true.
Optional. A document expressing the write concern of the delete command. Omit to use the default write concern.
Optional. Specifies the collation to use for the operation. See https://docs.mongodb.com/manual/reference/command/delete/#deletes-array-collation
Optional. A user-provided comment to attach to this command.
The number of matching documents to delete. Specify either a 0 to delete all matching documents or 1 to delete a single document.
Optional. A document or string that specifies the index to use to support the query predicate. The option can take an index specification document or the index name string. If you specify an index that does not exist, the operation errors.