MongoLink`
MongoLink`

MongoCollectionUpdateOne

MongoCollectionUpdateOne[MongoCollection[],filter,update]

フィルタ filter に合致する1つのドキュメントを,update で定義された変更で更新する.

詳細とオプション

例題

  (1)

クライアントに接続する:

"WolframTestDB"データベース内の"WolframTestCollection"コレクションに接続する:

フィルタ<|"age"5|>に合致する最初のドキュメントの年齢フィールドを更新する:

Wolfram Research (2018), MongoCollectionUpdateOne, Wolfram言語関数, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionUpdateOne.html.

テキスト

Wolfram Research (2018), MongoCollectionUpdateOne, Wolfram言語関数, https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionUpdateOne.html.

CMS

Wolfram Language. 2018. "MongoCollectionUpdateOne." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionUpdateOne.html.

APA

Wolfram Language. (2018). MongoCollectionUpdateOne. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionUpdateOne.html

BibTeX

@misc{reference.wolfram_2024_mongocollectionupdateone, author="Wolfram Research", title="{MongoCollectionUpdateOne}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionUpdateOne.html}", note=[Accessed: 15-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_mongocollectionupdateone, organization={Wolfram Research}, title={MongoCollectionUpdateOne}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/MongoCollectionUpdateOne.html}, note=[Accessed: 15-November-2024 ]}