Changing batch_size on a cursor

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Most (all?) drivers support a way to modify the batch_size of a cursor after its creation.

      I propose to add two new functions:

      uint32_t mongoc_cursor_get_batch_size (const mongoc_cursor_t *cursor)
      

      and

      void mongoc_cursor_set_batch_size (mongoc_cursor_t *cursor, uint32_t batch_size)
      

              Assignee:
              Unassigned
              Reporter:
              Hannes Magnusson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: