You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-03 04:01:40 +03:00
* (docs) bloom: add jsdocs for all commands * (docs) json: add jsdocs * (docs) search: add jsdocs for all commands * (docs) jsdocs for std commands * (docs) jsdoc comments to time series commands
18 lines
582 B
TypeScript
18 lines
582 B
TypeScript
import { Command } from '../RESP/types';
|
|
import EVAL, { parseEvalArguments } from './EVAL';
|
|
|
|
export default {
|
|
IS_READ_ONLY: false,
|
|
/**
|
|
* Executes a Lua script server side using the script's SHA1 digest
|
|
* @param parser - The Redis command parser
|
|
* @param sha1 - SHA1 digest of the script
|
|
* @param options - Script execution options including keys and arguments
|
|
*/
|
|
parseCommand(...args: Parameters<typeof parseEvalArguments>) {
|
|
args[0].push('EVALSHA');
|
|
parseEvalArguments(...args);
|
|
},
|
|
transformReply: EVAL.transformReply
|
|
} as const satisfies Command;
|