Hello!
On Sun, Aug 19, 2012 at 12:55 PM, Praveen Saxena wrote:
> Quick question, does the Lua-Resty-Redis driver accept custom Redis commands? And if so,how can we do that? We have developed some custom Redis commands that do not exist in the regular Redis database and we want to call those custom commands using the Lua driver. Perhaps this can be done using the Eval command.....
>
I've just committed a patch to lua-resty-redis's git master and added
a new class method "add_commands":
https://github.com/agentzh/lua-resty-redis/commit/f2b3656
The documentation is here:
https://github.com/agentzh/lua-resty-redis#add_commands
No "eval"-like things are needed here :)
BTW, I'm cc'ing the openresty-en mailing list:
http://groups.google.com/group/openresty-en
Regards,
-agentzh