Skip to content

Commit

Permalink
feature: added new redis commands bitcount, bitop, client, dump, hinc…
Browse files Browse the repository at this point in the history
…rbyfloat, incrbyfloat, migrate, pexpire, pexpireat, psetex, pubsub, pttl, restore, and time. thanks alex-yam for the patch in #22.
  • Loading branch information
agentzh committed Sep 19, 2013
1 parent f0924c9 commit 707f70e
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions lib/resty/redis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,38 @@ local _M = {

local commands = {
"append", "auth", "bgrewriteaof",
"bgsave", "blpop", "brpop",
"brpoplpush", "config", "dbsize",
"bgsave", "bitcount", "bitop",
"blpop", "brpop",
"brpoplpush", "client", "config",
"dbsize",
"debug", "decr", "decrby",
"del", "discard", "echo",
"del", "discard", "dump",
"echo",
"eval", "exec", "exists",
"expire", "expireat", "flushall",
"flushdb", "get", "getbit",
"getrange", "getset", "hdel",
"hexists", "hget", "hgetall",
"hincrby", "hkeys", "hlen",
"hincrby", "hincrbyfloat", "hkeys",
"hlen",
"hmget", --[[ "hmset", ]] "hset",
"hsetnx", "hvals", "incr",
"incrby", "info", "keys",
"incrby", "incrbyfloat", "info",
"keys",
"lastsave", "lindex", "linsert",
"llen", "lpop", "lpush",
"lpushx", "lrange", "lrem",
"lset", "ltrim", "mget",
"migrate",
"monitor", "move", "mset",
"msetnx", "multi", "object",
"persist", "ping", "psubscribe",
"publish", "punsubscribe", "quit",
"persist", "pexpire", "pexpireat",
"ping", "psetex", "psubscribe",
"pttl",
"publish", "punsubscribe", "pubsub",
"quit",
"randomkey", "rename", "renamenx",
"restore",
"rpop", "rpoplpush", "rpush",
"rpushx", "sadd", "save",
"scard", "script",
Expand All @@ -52,7 +62,8 @@ local commands = {
"smembers", "smove", "sort",
"spop", "srandmember", "srem",
"strlen", "subscribe", "sunion",
"sunionstore", "sync", "ttl",
"sunionstore", "sync", "time",
"ttl",
"type", "unsubscribe", "unwatch",
"watch", "zadd", "zcard",
"zcount", "zincrby", "zinterstore",
Expand Down

0 comments on commit 707f70e

Please sign in to comment.