SETEX implemented

This commit is contained in:
antirez
2010-04-23 19:07:33 +02:00
parent c8d0ea0ef1
commit 526d00a572
4 changed files with 55 additions and 13 deletions

View File

@ -67,6 +67,7 @@ static struct redisCommand cmdTable[] = {
{"get",2,REDIS_CMD_INLINE},
{"set",3,REDIS_CMD_BULK},
{"setnx",3,REDIS_CMD_BULK},
{"setex",4,REDIS_CMD_BULK},
{"append",3,REDIS_CMD_BULK},
{"substr",4,REDIS_CMD_INLINE},
{"del",-2,REDIS_CMD_INLINE},