Table of Contents

Class IMongoDatabaseExtensions

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Extension methods on IMongoDatabase.

public static class IMongoDatabaseExtensions
Inheritance
IMongoDatabaseExtensions
Inherited Members

Methods

Aggregate(IMongoDatabase, AggregateOptions)

Begins a fluent aggregation interface.

Aggregate(IMongoDatabase, IClientSessionHandle, AggregateOptions)

Begins a fluent aggregation interface.

AsQueryable(IMongoDatabase, AggregateOptions)

Creates a queryable source of documents.

AsQueryable(IMongoDatabase, IClientSessionHandle, AggregateOptions)

Creates a queryable source of documents.

Watch(IMongoDatabase, ChangeStreamOptions, CancellationToken)

Watches changes on all collection in a database.

Watch(IMongoDatabase, IClientSessionHandle, ChangeStreamOptions, CancellationToken)

Watches changes on all collection in a database.

WatchAsync(IMongoDatabase, ChangeStreamOptions, CancellationToken)

Watches changes on all collection in a database.

WatchAsync(IMongoDatabase, IClientSessionHandle, ChangeStreamOptions, CancellationToken)

Watches changes on all collection in a database.