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

Deprecate mongoc_collection_find

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.0
    • 1.5.0
    • libmongoc
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: