DeleteManyModel (driver-core 5.5.0 API) (original) (raw)

Type Parameters:

T - the type of document to update. In practice this doesn't actually apply to updates but is here for consistency with the other write models


public final class DeleteManyModel extends WriteModel

A model describing the removal of all documents matching the query filter.

Since:

3.0

MongoDB documentation

Remove

Constructors
Construct a new instance.
Construct a new instance.

[getFilter](#getFilter%28%29)()
Gets the options to apply.
[toString](#toString%28%29)()