-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.5.0
-
Component/s: libmongoc
-
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.
- depends on
-
CDRIVER-1522 Add mongoc_collection_find_with_opts
- Closed
- is related to
-
CDRIVER-1892 Add mongoc_gridfs_find_with_opts
- Closed
-
CXX-1131 Suppress deprecation warning for mongoc_collection_find()
- Closed