[CDRIVER-1524] Pass options as a BSON document to various functions Created: 07/Sep/16  Updated: 28/Mar/18  Resolved: 11/Nov/16

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

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

Issue Links:
Depends
is depended on by CDRIVER-1372 Support providing collation per opera... Closed

 Description   

Add:

  • mongoc_collection_find_with_opts
  • mongoc_bulk_operation_update_with_opts and other bulk functions
  • mongoc_client_command_with_opts

Rename "_with_write_concern" functions (introduced in CDRIVER-1322) to "_with_opts", accept a const bson_t opts instead a mongoc_write_concern_t:

  • mongoc_collection_create_index_with_opts
  • mongoc_collection_drop_index_with_opts
  • mongoc_collection_drop_with_opts
  • mongoc_collection_rename_with_opts
  • mongoc_database_create_collection_with_opts
  • mongoc_database_drop_with_opts

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