You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-03 04:01:40 +03:00
17 lines
524 B
TypeScript
17 lines
524 B
TypeScript
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
import { transformArguments as transformHRandFieldCountArguments } from './HRANDFIELD_COUNT';
|
|
|
|
export { FIRST_KEY_INDEX, IS_READ_ONLY } from './HRANDFIELD_COUNT';
|
|
|
|
export function transformArguments(
|
|
key: RedisCommandArgument,
|
|
count: number
|
|
): RedisCommandArguments {
|
|
return [
|
|
...transformHRandFieldCountArguments(key, count),
|
|
'WITHVALUES'
|
|
];
|
|
}
|
|
|
|
export { transformTuplesReply as transformReply } from './generic-transformers';
|