Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1188

Implement mongoc_cursor_set_hint()

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

      The PHP and HHVM drivers need a public API for setting the hint on a cursor, since we all users to do their own server selection and execute queries, commands, and writes directly.

      Despite CDRIVER-1131, the function should be named "hint" for BC (there is already a mongoc_cursor_get_hint() function), as is done for the bulk functions.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: