watchCursor method
ModernCursor
watchCursor(
- Object pipeline, {
- int? batchSize,
- String? hint,
- Map<
String, Object> ? hintDocument, - ChangeStreamOptions? changeStreamOptions,
- Map<
String, Object> ? rawOptions,
inherited
Implementation
ModernCursor watchCursor(Object pipeline,
{int? batchSize,
String? hint,
Map<String, Object>? hintDocument,
ChangeStreamOptions? changeStreamOptions,
Map<String, Object>? rawOptions}) =>
ModernCursor(ChangeStreamOperation(pipeline,
collection: this,
hint: hint,
hintDocument: hintDocument,
changeStreamOptions: changeStreamOptions,
rawOptions: rawOptions));