MongoLink`
MongoLink`

MongoCollectionDeleteOne

MongoCollectionDeleteOne[MongoCollection[],filter]

deletes the first document that matches the filter filter.

Details

Examples

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 the first document that matches the filter <|"age"3|>:

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