MongoLink`
MongoLink`
MongoCollectionDeleteOne
MongoCollectionDeleteOne[MongoCollection[…],filter]
deletes the first document that matches the filter filter.
更多信息和选项
- 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.
范例
Wolfram Research (2018),MongoCollectionDeleteOne,Wolfram 语言函数,https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html.
文本
Wolfram Research (2018),MongoCollectionDeleteOne,Wolfram 语言函数,https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html.
CMS
Wolfram 语言. 2018. "MongoCollectionDeleteOne." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html.
APA
Wolfram 语言. (2018). MongoCollectionDeleteOne. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html 年