Interface GridFSBucketReadStreamOptions

interface GridFSBucketReadStreamOptions {
    end?: number;
    skip?: number;
    sort?: Sort;
    start?: number;
    timeoutMS?: number;
}

Hierarchy (view full)

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

skip?: number
sort?: Sort
start?: number

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

timeoutMS?: number

Specifies the time an operation will run until it throws a timeout error