Implement mongoc_cursor_set_hint()

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: