[CXX-1883] Support partial file retrieval in gridfs API Created: 28/Nov/19 Updated: 18/Jan/23 Resolved: 17/Jan/23 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | API |
| Affects Version/s: | 3.4.0 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Daniel Romberg | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | bgtrack, post-5.0 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
The C++ driver should support partial file retrieval from a GridFS bucket as specified in the GridFS specification. std::size_t read (std::uint8_t *buffer, std::size_t length, std::size_t offset = 0); The default value ensures backwards compatibility. |
| Comments |
| Comment by Daniel Romberg [ 03/Dec/19 ] |
|
I see, thanks for removing the link. I didn't find any "relates to" option, but it is probably not very useful and "depends on" was indeed wrong. |
| Comment by Kevin Albertson [ 02/Dec/19 ] |
|
Note, the C++ driver does not use libmongoc's gridfs implementation. |