You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
use dockers for tests, use npm workspaces, add rejson & redisearch modules, fix some bugs
This commit is contained in:
18
packages/client/lib/commands/ZRANGEBYSCORE_WITHSCORES.ts
Normal file
18
packages/client/lib/commands/ZRANGEBYSCORE_WITHSCORES.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
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 { transformReplySortedSetWithScores as transformReply } from './generic-transformers';
|
Reference in New Issue
Block a user