const script = ` return ARGV[1] ` const result = await redis.eval(script, [], ["hello"]); console.log(result) // "hello"
Evaluate a Lua script server side.
Was this page helpful?