MongoLink`
MongoLink`

MongoCollectionUpdateOne

MongoCollectionUpdateOne[MongoCollection[],filter,update]

updates one document that matches the filter filter with the modification defined by update.

Details

Examples

Basic Examples  (1)

Connect to a client:

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

Update the age field of the first document that matches the filter <|"age"5|>: