MongoLink`
MongoLink`

MongoCollectionDeleteOne

MongoCollectionDeleteOne[MongoCollection[],filter]

deletes the first document that matches the filter filter.

Details

Examples

Basic Examples  (1)

Connect to a client:

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

Delete the first document that matches the filter <|"age"3|>:

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.

BibTeX

@misc{reference.wolfram_2021_mongocollectiondeleteone, author="Wolfram Research", title="{MongoCollectionDeleteOne}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html}", note=[Accessed: 03-December-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_mongocollectiondeleteone, organization={Wolfram Research}, title={MongoCollectionDeleteOne}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionDeleteOne.html}, note=[Accessed: 03-December-2021 ]}

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