Interface GridFSBucketReadStreamOptionsWithRevision

Hierarchy

Properties

end?: number

0-indexed non-negative byte offset to the end of the file contents to be returned by the stream. end is non-inclusive

revision?: number

The revision number relative to the oldest file with the given filename. 0 gets you the oldest file, 1 gets you the 2nd oldest, -1 gets you the newest.

skip?: number
start?: number

0-indexed non-negative byte offset from the beginning of the file

Generated using TypeDoc