MongoLink`
MongoLink`

MongoCollectionDeleteMany

MongoCollectionDeleteMany[MongoCollection[],filter]

deletes one or more documents that match the filter filter.

Details

Examples

open allclose all

Basic Examples  (1)

Connect to a client:

Connect to a the "WolframTestCollection" collection in the "WolframTestDB" database:

Delete all of the documents that match the filter <|"age"11|>:

Options  (1)

"WriteConcern"  (1)

Connect to a client:

Connect to a the "WolframTestCollection" collection in the "WolframTestDB" database:

Delete all of the documents that match the filter <|"age"11|>: