IMongoCollectionTDocument Interface |
Namespace: MongoDB.Driver
The IMongoCollectionTDocument type exposes the following members.
Name | Description | |
---|---|---|
AggregateAsyncTResult |
Runs an aggregation pipeline.
| |
BulkWriteAsync |
Performs multiple write operations.
| |
CountAsync |
Counts the number of documents in the collection.
| |
DeleteManyAsync |
Deletes multiple documents.
| |
DeleteOneAsync |
Deletes a single document.
| |
DistinctAsyncTField |
Gets the distinct values for a specified field.
| |
FindAsyncTProjection |
Finds the documents matching the filter.
| |
FindOneAndDeleteAsyncTProjection |
Finds a single document and deletes it atomically.
| |
FindOneAndReplaceAsyncTProjection |
Finds a single document and replaces it atomically.
| |
FindOneAndUpdateAsyncTProjection |
Finds a single document and updates it atomically.
| |
InsertManyAsync |
Inserts many documents.
| |
InsertOneAsync |
Inserts a single document.
| |
MapReduceAsyncTResult |
Executes a map-reduce command.
| |
OfTypeTDerivedDocument |
Returns a filtered collection that appears to contain only documents of the derived type.
All operations using this filtered collection will automatically use discriminators as necessary.
| |
ReplaceOneAsync |
Replaces a single document.
| |
UpdateManyAsync |
Updates many documents.
| |
UpdateOneAsync |
Updates a single document.
| |
WithReadPreference |
Returns a new collection with a different read preference.
| |
WithWriteConcern |
Returns a new collection with a different write concern.
|
Name | Description | |
---|---|---|
CollectionNamespace |
Gets the namespace of the collection.
| |
Database |
Gets the database.
| |
DocumentSerializer |
Gets the document serializer.
| |
Indexes |
Gets the index manager.
| |
Settings |
Gets the settings.
|