Method ChangeStream
ChangeStream(ChangeStreamStageOptions)
Appends a $changeStream stage to the pipeline. Normally you would prefer to use the Watch method of IMongoCollection<TDocument>. 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.
IAggregateFluent<ChangeStreamDocument<TResult>> ChangeStream(ChangeStreamStageOptions options = null)
Parameters
options
ChangeStream Stage Options The options.
Returns
- IAggregate
Fluent <ChangeStream <TResult>>Document The fluent aggregate interface.