[CDRIVER-4049] mongoc_gridfs_bucket_find does not forward `opts` to the underlying find operation Created: 30/Jun/21  Updated: 28/Oct/23  Resolved: 12/Jul/21

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.9.0
Fix Version/s: 1.18.0

Type: Bug Priority: Minor - P4
Reporter: Colby Pike Assignee: Colby Pike
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-3164 Accept NULL as filter options in mong... Closed
Backwards Compatibility: Minor Change

 Description   

As per: https://github.com/mongodb/specifications/blob/master/source/gridfs/gridfs-spec.rst#generic-find-on-files-collection GridFSBucket.find should forward 'opts', but it does not in the C driver.



 Comments   
Comment by Githook User [ 13/Jul/21 ]

Author:

{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}

Message: CDRIVER-3164 & CDRIVER-4049: Fix 'opts' usage in mongoc_gridfs_bucket_find (#812)

  • Fix: mongoc_gridfs_bucket_find not respecting 'opts'

Fix: CDRIVER-3164 and CDRIVER-4049

GridFSBucket.find must forward the 'opts' to the underlying
collection query. Also permit 'opts' to be NULL.

Comment by Githook User [ 12/Jul/21 ]

Author:

{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}

Message: CDRIVER-3164 & CDRIVER-4049: Fix 'opts' usage in mongoc_gridfs_bucket_find (#812)

  • Fix: mongoc_gridfs_bucket_find not respecting 'opts'

Fix: CDRIVER-3164 and CDRIVER-4049

GridFSBucket.find must forward the 'opts' to the underlying
collection query. Also permit 'opts' to be NULL.

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