Provide direct access to cursor batches

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Unknown
    • 3.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Rust Drivers
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?

      For performance-sensitive cursor application, a raw batched mode is now available.

      2. Would you like the user to see examples of the syntax and/or executable code and its output?

      Yes.

      3. Which versions of the driver/connector does this apply to?

      3.5.0+

      Show
      1. What would you like to communicate to the user about this feature? For performance-sensitive cursor application, a raw batched mode is now available. 2. Would you like the user to see examples of the syntax and/or executable code and its output? Yes. 3. Which versions of the driver/connector does this apply to? 3.5.0+
    • None
    • None
    • None
    • None
    • None
    • None

      See this issue for a detailed request and link to a POC: https://github.com/mongodb/mongo-rust-driver/issues/1529

       

      We should explore whether we can expose this functionality directly on the Cursor type. We could either return batches directly from Cursor, or map to a new BatchCursor type that iterates over the batches.

            Assignee:
            Abraham Egnor
            Reporter:
            Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: