You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
19 lines
601 B
TypeScript
19 lines
601 B
TypeScript
import { RedisCommandArguments } from '.';
|
|
import { ZRangeByScoreOptions, transformArguments as transformZRangeByScoreArguments } from './ZRANGEBYSCORE';
|
|
|
|
export { FIRST_KEY_INDEX, IS_READ_ONLY } from './ZRANGEBYSCORE';
|
|
|
|
export function transformArguments(
|
|
key: string,
|
|
min: number | string,
|
|
max: number | string,
|
|
options?: ZRangeByScoreOptions
|
|
): RedisCommandArguments {
|
|
return [
|
|
...transformZRangeByScoreArguments(key, min, max, options),
|
|
'WITHSCORES'
|
|
];
|
|
}
|
|
|
|
export { transformReplySortedStringsSetWithScores as transformReply } from './generic-transformers';
|