Interface RangeByScoreOption

有序集合按score排序的可选参数

interface RangeByScoreOption {
    count?: number;
    offset?: number;
    withScores?: boolean;
}

Properties

count?: number

Limit 参数中的成员个数,offset与count 必须同时指定

offset?: number

Limit 参数中的偏移量, offset与count 必须同时指定

withScores?: boolean

是否同时返回 score