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

Deprecate mongoc_collection_find

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.5.0
    • Component/s: libmongoc
    • Labels:
      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:
            backlog-c-driver Backlog - C Driver Team
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: