Interface DeleteManyModel<TSchema>

interface DeleteManyModel<TSchema> {
    collation?: CollationOptions;
    filter: Filter<TSchema>;
    hint?: Hint;
}

Type Parameters

Properties

collation?: CollationOptions

Specifies a collation.

filter: Filter<TSchema>

The filter to limit the deleted documents.

hint?: Hint

The index to use. If specified, then the query system will only consider plans using the hinted index.