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. 0到流返回的文件内容末尾的索引非负字节偏移量。end is non-inclusiveend是非包容性的

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.0为您获取最旧的文件,1为您获取第二个最旧的,-1为您获取最近的。

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

0-indexed non-negative byte offset from the beginning of the file0-索引的非负字节从文件开头的偏移量

Generated using TypeDoc