MongoCollectionBase<TDocument>.FindOneAndDeleteAsync Method |
Name | Description | |
---|---|---|
FindOneAndDeleteAsync<TProjection>(FilterDefinition<TDocument>, FindOneAndDeleteOptions<TDocument, TProjection>, CancellationToken) |
Finds a single document and deletes it atomically.
| |
FindOneAndDeleteAsync<TProjection>(IClientSessionHandle, FilterDefinition<TDocument>, FindOneAndDeleteOptions<TDocument, TProjection>, CancellationToken) |
Finds a single document and deletes it atomically.
|