Scripts
SCRIPT LOAD
Load the specified Lua script into the script cache.
const script = `
local value = redis.call('GET', KEYS[1])
return value
`;
const sha1 = await redis.scriptLoad(script);
Was this page helpful?
const script = `
local value = redis.call('GET', KEYS[1])
return value
`;
const sha1 = await redis.scriptLoad(script);