-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: GridFS
-
None
Users running find will need a model to decode their cursor results into. This requires users to know the structure of the files collection document and every user will need to reinvent this wheel. Instead, the driver should provide a type to represent the file document with either public fields or helper methods. This also provides a location for documentation of the meaning of such fields.
How some other drivers do it:
- duplicates
-
GODRIVER-1548 Access filename and metadata in gridfs DownloadStream
- Closed