Skip to content

Support accessing older revisions of GridFS files #2050

Open
@alcaeus

Description

@alcaeus

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

GridFS treats multiple documents with the same filename as revisions of the same file, with the uploadDate determining order. The open_download_stream_by_name and download_to_stream_by_name allow passing a revision option, which is then used to select the appropriate revision.

The DefaultGridFSRepository class should be extended by adding accessors to retrieve file contents by filename, along with support for the revision option.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions