MongoDB .NET Driver API Documentation
MongoDB .NET Driver API Documentation
Namespaces
MongoDB.Driver
IMongoCollectionExtensions Class
IMongoCollectionExtensions Methods
UpdateOneAsync Method
UpdateOneAsync(TDocument) Method (IMongoCollection(TDocument), Expression(Func(TDocument, Boolean)), UpdateDefinition(TDocument), UpdateOptions, CancellationToken)
UpdateOneAsync(TDocument) Method (IMongoCollection(TDocument), IClientSessionHandle, Expression(Func(TDocument, Boolean)), UpdateDefinition(TDocument), UpdateOptions, CancellationToken)
IMongoCollectionExtensions
UpdateOneAsync Method
Overload List
Name
Description
UpdateOneAsync
TDocument
(IMongoCollection
TDocument
, Expression
Func
TDocument, Boolean
, UpdateDefinition
TDocument
, UpdateOptions, CancellationToken)
Updates a single document.
UpdateOneAsync
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