GridFSBucketReadStreamOptions | mongodb (original) (raw)

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

Hierarchy (view full)

Index

Properties

Optionalend

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

Optionalskip

skip?: number

Optionalsort

Optionalstart

start?: number

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

Optional ExperimentaltimeoutMS

timeoutMS?: number

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