You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
wip
This commit is contained in:
@@ -9,7 +9,7 @@ export const MATH_FUNCTION = {
|
||||
engine: 'LUA',
|
||||
code:
|
||||
`#!LUA name=math
|
||||
redis.register_function{
|
||||
redis.register_function {
|
||||
function_name = "square",
|
||||
callback = function(keys, args) return args[1] * args[1] end,
|
||||
flags = { "no-writes" }
|
||||
|
Reference in New Issue
Block a user