Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-176

Implement limit and batchSize for Cursor

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: legacy-0.9.0
    • Component/s: API
    • Labels:

      Description

      Currently the DBClientInterface::findN signature takes nToReturn and there is no limit or batchSize method on the returned Cursor.

      Ideally the Cursor interface should work like the one provided by every other driver.

        Attachments

          Activity

            People

            Assignee:
            jason.carey Jason Carey
            Reporter:
            tyler@10gen.com Tyler Brock
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: