[CDRIVER-1528] Deprecate mongoc_collection_find Created: 07/Sep/16  Updated: 15/Nov/16  Resolved: 05/Nov/16

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.5.0
Fix Version/s: 1.5.0

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Backlog - C Driver Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-1522 Add mongoc_collection_find_with_opts Closed
Related
is related to CDRIVER-1892 Add mongoc_gridfs_find_with_opts Closed
is related to CXX-1131 Suppress deprecation warning for mong... Closed
Epic Link: Flexible opts

 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.



 Comments   
Comment by Githook User [ 07/Nov/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1528 deprecate mongoc_collection_find
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/97d228aad15abf44ee1ff2023d01f1f733f50568

Generated at Wed Feb 07 21:12:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.