You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
12 lines
421 B
TypeScript
12 lines
421 B
TypeScript
import { RedisArgument, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
|
|
|
export default {
|
|
IS_READ_ONLY: false,
|
|
parseCommand(parser: CommandParser, key: RedisArgument) {
|
|
parser.push('GRAPH.DELETE');
|
|
parser.pushKey(key);
|
|
},
|
|
transformReply: undefined as unknown as () => BlobStringReply
|
|
} as const satisfies Command;
|