Deprecate mongoc_collection_find

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: 1.5.0
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This would be a bold step.

      Justification: the new mongoc_collection_find_with_opts has many advantages over mongoc_collection_find (CDRIVER-1522). Its API is nicer, and easier to use correctly, and it closely matches MongoDB 3.2's "find" command, whereas mongoc_collection_find requires the old OP_QUERY syntax with $-modifiers and old names like $orderby and $query. Soon this API will be a relic of an obsolete server, let's plan to remove it from the driver.

              Assignee:
              [DO NOT USE] Backlog - C Driver Team
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: