MongoDB .NET Driver API Documentation
MongoDB .NET Driver API Documentation
Namespaces
MongoDB.Driver
IMongoCollectionExtensions Class
IMongoCollectionExtensions Methods
UpdateOne Method
UpdateOne(TDocument) Method (IMongoCollection(TDocument), Expression(Func(TDocument, Boolean)), UpdateDefinition(TDocument), UpdateOptions, CancellationToken)
UpdateOne(TDocument) Method (IMongoCollection(TDocument), IClientSessionHandle, Expression(Func(TDocument, Boolean)), UpdateDefinition(TDocument), UpdateOptions, CancellationToken)
IMongoCollectionExtensions
UpdateOne Method
Overload List
Name
Description
UpdateOne
TDocument
(IMongoCollection
TDocument
, Expression
Func
TDocument, Boolean
, UpdateDefinition
TDocument
, UpdateOptions, CancellationToken)
Updates a single document.
UpdateOne
TDocument
(IMongoCollection
TDocument
, IClientSessionHandle, Expression
Func
TDocument, Boolean
, UpdateDefinition
TDocument
, UpdateOptions, CancellationToken)
Updates a single document.
Top
See Also
Reference
IMongoCollectionExtensions Class
MongoDB.Driver Namespace
Copyright © 2010–present MongoDB Inc.
Send comments on this topic to
MongoDB