MongoLink`
MongoLink`

MongoCollectionDeleteMany

MongoCollectionDeleteMany[MongoCollection[],filter]

deletes one or more documents that match the filter filter.

Details

Examples

open all close all

Basic Examples  (1)

In[1]:=
Click for copyable input

Connect to a client:

In[1]:=
Click for copyable input
Out[1]=

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

In[1]:=
Click for copyable input
Out[1]=

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

In[1]:=
Click for copyable input
Out[1]=

Options  (1)