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

Deprecate mongoc_collection_find

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: libmongoc
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-c-driver Backlog - C Driver Team
              Reporter:
              jesse A. Jesse Jiryu Davis
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: