Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1883

Support partial file retrieval in gridfs API

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.0
    • API

    Description

      The C++ driver should support partial file retrieval from a GridFS bucket as specified in the GridFS specification.
      This could be implemented by introducing an optional parameter offset to the read method of the mongocxx::gridfs::downloader class:

      std::size_t read (std::uint8_t *buffer, std::size_t length, std::size_t offset = 0);

      The default value ensures backwards compatibility.

      Attachments

        Activity

          People

            Unassigned Unassigned
            abroxa@gmail.com Daniel Romberg
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: