1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
This commit is contained in:
Leibale
2023-07-06 10:38:30 -04:00
parent 2a662a367d
commit ab153a8eda
10 changed files with 97 additions and 60 deletions

View File

@@ -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" }