[GODRIVER-863] Add GridFS File type Created: 06/Mar/19  Updated: 07/Aug/20  Resolved: 07/Aug/20

Status: Closed
Project: Go Driver
Component/s: GridFS
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: David Golden Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates GODRIVER-1548 Access filename and metadata in gridf... Closed

 Description   

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:


Generated at Thu Feb 08 08:35:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.