MongoCollection.deleteMany

Deletes all documents matching the query filter. The returned result identifies how many documents have been deleted.

struct MongoCollection
@safe
DeleteResult
deleteMany
(
T
)
(,
DeleteOptions options = DeleteOptions.init
)
if (
!is(T == DeleteOptions)
)

See Also

Meta