1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

some more commands, multi.exec<'typed'>

This commit is contained in:
Leibale
2023-04-24 19:50:58 -04:00
parent 39bcac6484
commit b272f18818
13 changed files with 171 additions and 132 deletions

View File

@@ -1,5 +1,10 @@
export function transformArguments(script: string): Array<string> {
return ['SCRIPT', 'LOAD', script];
}
import { BlobStringReply, Command, RedisArgument } from '../RESP/types';
export declare function transformReply(): string;
export default {
IS_READ_ONLY: true,
FIRST_KEY_INDEX: undefined,
transformArguments(script: RedisArgument) {
return ['SCRIPT', 'LOAD', script];
},
transformReply: undefined as unknown as () => BlobStringReply
} as const satisfies Command;