Click or drag to resize

IMongoCollectionExtensions.UpdateOne Method

Overload List
  NameDescription
Public methodStatic memberUpdateOne<TDocument>(IMongoCollection<TDocument>, Expression<Func<TDocument, Boolean>>, UpdateDefinition<TDocument>, UpdateOptions, CancellationToken)
Updates a single document.
Public methodStatic memberUpdateOne<TDocument>(IMongoCollection<TDocument>, IClientSessionHandle, Expression<Func<TDocument, Boolean>>, UpdateDefinition<TDocument>, UpdateOptions, CancellationToken)
Updates a single document.
Top
See Also