watchCursor method

ModernCursor watchCursor(
  1. Object pipeline, {
  2. int? batchSize,
  3. String? hint,
  4. Map<String, Object>? hintDocument,
  5. ChangeStreamOptions? changeStreamOptions,
  6. Map<String, Object>? rawOptions,
})

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));