redis-extend
redis-extend copied to clipboard
How to load the scripts?
The README mentions: "Simply load the command from scripts/ according to 'command.lua'". Where do I find "command.lua"?
I agree that the statement in the readme is confusing, and I think it's saying that scripts/$command.lua
contains the script which implements $command
, since it previously said "access the command from scripts.json by index."
You can find more information about Redis Lua scripting here: https://redis.io/commands/eval