Click or drag to resize

IMongoCollectionExtensions.FindOneAndDeleteAsync Method

Overload List
  NameDescription
Public methodStatic memberFindOneAndDeleteAsync<TDocument>(IMongoCollection<TDocument>, FilterDefinition<TDocument>, FindOneAndDeleteOptions<TDocument, TDocument>, CancellationToken)
Finds a single document and deletes it atomically.
Public methodStatic memberFindOneAndDeleteAsync<TDocument>(IMongoCollection<TDocument>, Expression<Func<TDocument, Boolean>>, FindOneAndDeleteOptions<TDocument, TDocument>, CancellationToken)
Finds a single document and deletes it atomically.
Public methodStatic memberFindOneAndDeleteAsync<TDocument, TProjection>(IMongoCollection<TDocument>, Expression<Func<TDocument, Boolean>>, FindOneAndDeleteOptions<TDocument, TProjection>, CancellationToken)
Finds a single document and deletes it atomically.
Public methodStatic memberFindOneAndDeleteAsync<TDocument>(IMongoCollection<TDocument>, IClientSessionHandle, FilterDefinition<TDocument>, FindOneAndDeleteOptions<TDocument, TDocument>, CancellationToken)
Finds a single document and deletes it atomically.
Public methodStatic memberFindOneAndDeleteAsync<TDocument>(IMongoCollection<TDocument>, IClientSessionHandle, Expression<Func<TDocument, Boolean>>, FindOneAndDeleteOptions<TDocument, TDocument>, CancellationToken)
Finds a single document and deletes it atomically.
Public methodStatic memberFindOneAndDeleteAsync<TDocument, TProjection>(IMongoCollection<TDocument>, IClientSessionHandle, Expression<Func<TDocument, Boolean>>, FindOneAndDeleteOptions<TDocument, TProjection>, CancellationToken)
Finds a single document and deletes it atomically.
Top
See Also