You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
WIP
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
export function transformArguments(parameter: string): Array<string> {
|
||||
return ['CONFIG', 'GET', parameter];
|
||||
}
|
||||
import { RedisArgument, Command } from '../RESP/types';
|
||||
import { transformTuplesReply } from './generic-transformers';
|
||||
|
||||
export { transformTuplesReply as transformReply } from './generic-transformers';
|
||||
export default {
|
||||
IS_READ_ONLY: true,
|
||||
transformArguments(parameter: RedisArgument) {
|
||||
return ['CONFIG', 'GET', parameter];
|
||||
},
|
||||
transformReply: transformTuplesReply
|
||||
} as const satisfies Command;
|
||||
|
Reference in New Issue
Block a user