[CDRIVER-247] Support gridfs in new C driver Created: 11/Nov/13  Updated: 05/Dec/13  Resolved: 14/Nov/13

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

Type: Improvement Priority: Major - P3
Reporter: Christian Hergert Assignee: Mira Carey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Add support for gridfs to the new C driver.

Basic spec:

  • Add a new mongoc_gridfs_t structure as a central api point.
  • Fetch a mongoc_gridfs_t from a mongoc_client_t with something like mongoc_client_get_gridfs(...) similar to how we get a database or collection.
  • Create a mongoc_stream_t sub-structure for working with a file in gridfs so that we can support streaming files to and from the MongoDB server.


 Comments   
Comment by Christian Hergert [ 14/Nov/13 ]

Closing fixed.

Comment by Christian Hergert [ 14/Nov/13 ]

Go ahead and merge this. There are some things to fix, but I'd like to get the code in as early as possible so we both can iterate upon it.

Comment by Mira Carey [ 13/Nov/13 ]

I'll leave this in it's own branch until we're both happy with it

https://github.com/hanumantmk/libmongoc/commit/007500a1b9c54a7f7302e60b5b6bd03d080e5b14

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