MongoLink`
MongoLink`
MongoCollectionDeleteOne
MongoCollectionDeleteOne[MongoCollection[…],filter]
deletes the first document that matches the filter filter.
Details and Options
- To use MongoCollectionDeleteOne, you first need to load MongoLink using Needs["MongoLink`"].
- filter is an Association. filter uses the same the same syntax as the first argument query to MongoCollectionFind. The list of available query selectors can be found in the MongoDB documentation.
- The following option is supported:
-
"WriteConcern" Automatic the write concern to use. - "WriteConcern" can either be Automatic, or a MongoWriteConcern object.
- MongoCollectionDeleteOne corresponds to db.collection.deleteOne() in the MongoDB documentation.
Examples
Wolfram Research (2018), MongoCollectionDeleteOne, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html.
Text
Wolfram Research (2018), MongoCollectionDeleteOne, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html.
CMS
Wolfram Language. 2018. "MongoCollectionDeleteOne." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html.
APA
Wolfram Language. (2018). MongoCollectionDeleteOne. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html