You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-17 19:41:06 +03:00
14 lines
455 B
TypeScript
14 lines
455 B
TypeScript
import { transformReplyTuplesNull } from './generic-transformers';
|
|
import { transformArguments as transformHRandFieldCountArguments } from './HRANDFIELD_COUNT';
|
|
|
|
export { FIRST_KEY_INDEX } from './HRANDFIELD_COUNT';
|
|
|
|
export function transformArguments(key: string, count: number): Array<string> {
|
|
return [
|
|
...transformHRandFieldCountArguments(key, count),
|
|
'WITHVALUES'
|
|
];
|
|
}
|
|
|
|
export const transformReply = transformReplyTuplesNull;
|