Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-520

Implement `watch` operation

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      As the second part of implementing change streams, we need to define a Watch struct that implements Operation. This operation should wrap the Aggregate operation, calling Aggregate::build and Aggregate::handle_response in its own respective build and handle_response methods.

      Additionally, the watch methods on Client, Database, and Collection should be updated to create and execute a Watch operation.

            Assignee:
            abraham.egnor@mongodb.com Abraham Egnor
            Reporter:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: