API 参考
    正在准备搜索索引...

    接口 GridFSBucketReadStreamOptionsWithRevision

    interface GridFSBucketReadStreamOptionsWithRevision {
        end?: number;
        revision?: number;
        skip?: number;
        sort?: Sort;
        start?: number;
    }

    层级 (查看层级一览)

    索引

    属性

    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
    sort?: Sort
    start?: number

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