From 1e6d7c983da37e8e092d1a82ee81d62c712202f9 Mon Sep 17 00:00:00 2001 From: holys Date: Sat, 16 Aug 2014 16:40:13 +0800 Subject: [PATCH] add set commands for lua(openresty) --- client/openresty/ledis.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/client/openresty/ledis.lua b/client/openresty/ledis.lua index 06d9161..aa2335a 100644 --- a/client/openresty/ledis.lua +++ b/client/openresty/ledis.lua @@ -113,6 +113,27 @@ local commands = { "bttl", "bpersist", + --[[set]] + "sadd", + "scard", + "sdiff", + "sdiffstore", + "sinter", + "sinterstore", + "sismember", + "smembers", + "srem", + "sunion", + "sunionstore", + + + "sclear", + "smclear", + "sexpire", + "sexpireat", + "sttl", + "spersist", + --[[server]] "ping", "echo",