Click or drag to resize

IAggregateFluentTResultChangeStream Method

Appends a $changeStream stage to the pipeline. Normally you would prefer to use the Watch method of IMongoCollectionTDocument. Only use this method if subsequent stages project away the resume token (the _id) or you don't want the resulting cursor to automatically resume.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
IAggregateFluent<ChangeStreamDocument<TResult>> ChangeStream(
	ChangeStreamStageOptions options = null


options (Optional)
Type: MongoDB.DriverChangeStreamStageOptions
The options.

Return Value

Type: IAggregateFluentChangeStreamDocumentTResult
The fluent aggregate interface.
See Also