ledisdb/doc/commands.json

747 lines
16 KiB
JSON
Raw Normal View History

{
2014-07-30 08:18:38 +04:00
"DECR": {
"arguments": "key",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"DECRBY": {
"arguments": "key decrement",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"DEL": {
"arguments": "key [key ...]",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"ECHO": {
"arguments": "message",
"group": "Server",
2014-07-30 09:52:34 +04:00
"readonly": true
2014-07-30 08:18:38 +04:00
},
"EXISTS": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"EXPIRE": {
"arguments": "key seconds",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"EXPIREAT": {
"arguments": "key timestamp",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"FULLSYNC": {
2014-10-11 13:44:31 +04:00
"arguments": "[NEW]",
2014-07-30 08:18:38 +04:00
"group": "Replication",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"GET": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"GETSET": {
"arguments": " key value",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"HCLEAR": {
"arguments": "key",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"HDEL": {
2014-07-30 08:18:38 +04:00
"arguments": "key field [field ...]",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"HEXISTS": {
"arguments": "key field",
2014-07-30 08:18:38 +04:00
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": true
2014-07-30 08:18:38 +04:00
},
"HEXPIRE": {
"arguments": "key seconds",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"HEXPIREAT": {
"arguments": "key timestamp",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"HGET": {
2014-07-30 08:18:38 +04:00
"arguments": "key field",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"HGETALL": {
2014-07-30 08:18:38 +04:00
"arguments": "key",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"HINCRBY": {
2014-07-30 08:18:38 +04:00
"arguments": "key field increment",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"HKEYS": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"HLEN": {
2014-07-30 08:18:38 +04:00
"arguments": "key",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": true
2014-07-30 08:18:38 +04:00
},
"HMCLEAR": {
"arguments": "key [key ...]",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"HMGET": {
2014-07-30 08:18:38 +04:00
"arguments": "key field [field ...]",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"HMSET": {
2014-07-30 08:18:38 +04:00
"arguments": "key field value [field value ...]",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"HSCAN": {
"arguments": "key cursor [MATCH match] [COUNT count] [ASC|DESC]",
"group": "Hash",
"readonly": true
},
2014-07-30 08:18:38 +04:00
"HPERSIST": {
"arguments": "key",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"HSET": {
2014-07-30 08:18:38 +04:00
"arguments": "key field value",
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"HTTL": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"HVALS": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "Hash",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"INCR": {
"arguments": "key",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"INCRBY": {
"arguments": "key increment",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"LCLEAR": {
"arguments": "key",
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"LEXPIRE": {
"arguments": "key seconds",
2014-07-30 08:18:38 +04:00
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"LEXPIREAT": {
"arguments": "key timestamp",
2014-07-30 08:18:38 +04:00
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"LINDEX": {
"arguments": "key index",
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"LLEN": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"LMCLEAR": {
"arguments": "key [key ...]",
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"LPERSIST": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"LPOP": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"LPUSH": {
"arguments": "key value [value ...]",
2014-07-30 08:18:38 +04:00
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"LRANGE": {
"arguments": "key start stop",
2014-07-30 08:18:38 +04:00
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2020-05-10 16:52:10 +03:00
"LSET": {
"arguments": "key index value",
"group": "List",
"readonly": false
},
"LTRIM": {
"arguments": "key start stop",
"group": "List",
"readonly": false
},
2014-07-30 08:18:38 +04:00
"LTTL": {
"arguments": "key",
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": true
2014-07-30 08:18:38 +04:00
},
2014-10-17 07:41:15 +04:00
"BLPOP": {
"arguments": "key [key ...] timeout",
"group": "List",
"readonly": false
},
"BRPOP": {
"arguments": "key [key ...] timeout",
"group": "List",
"readonly": false
},
2014-07-30 08:18:38 +04:00
"MGET": {
"arguments": "key [key ...]",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": true
2014-07-30 08:18:38 +04:00
},
"MSET": {
"arguments": "key value [key value ...]",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"PERSIST": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"PING": {
"arguments": "-",
"group": "Server",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"RPOP": {
2014-07-30 08:18:38 +04:00
"arguments": "key",
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"RPUSH": {
2014-07-30 08:18:38 +04:00
"arguments": "key value [value ...]",
"group": "List",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"SELECT": {
"arguments": "index",
"group": "Server",
2014-08-25 10:18:23 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"SET": {
"arguments": "key value",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"SETNX": {
"arguments": "key value",
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-10-26 10:15:43 +03:00
"SETEX": {
"arguments": "key seconds value",
"group": "KV",
"readonly": false
},
2014-07-30 08:18:38 +04:00
"SLAVEOF": {
2014-10-10 05:49:16 +04:00
"arguments": "host port [RESTART] [READONLY]",
2014-07-30 08:18:38 +04:00
"group": "Replication",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"SYNC": {
2014-09-29 10:19:42 +04:00
"arguments": "logid",
2014-07-30 08:18:38 +04:00
"group": "Replication",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
2014-08-15 13:30:15 +04:00
"SADD" :{
"arguments": "key member [member ...]",
"group": "Set",
"readonly": false
},
"SCARD": {
"arguments": "key",
"group": "Set",
"readonly": true
},
"SDIFF": {
"arguments": "key [key ...]",
"group": "Set",
"readonly": true
},
"SDIFFSTORE": {
"arguments": "destination key [key ...]",
"group": "Set",
"readonly": false
},
"SINTER": {
"arguments": "key [key ...]",
"group": "Set",
"readonly": true
},
"SINTERSTORE": {
"arguments": "destination key [key ...]",
"group": "Set",
"readonly": false
},
"SISMEMBER": {
"arguments": "key member",
"group": "Set",
"readonly": true
},
"SMEMBERS": {
"arguments": "key",
"group": "Set",
"readonly": true
},
"SSCAN": {
"arguments": "key cursor [MATCH match] [COUNT count] [ASC|DESC]",
"group": "Set",
"readonly": true
},
2014-08-15 13:30:15 +04:00
"SREM": {
"arguments": "key member [member ...]",
"group": "Set",
"readonly": false
},
"SUNION": {
"arguments": "key [key ...]",
"group": "Set",
"readonly": true
},
"SUNIONSTORE": {
"arguments": "destination key [key ...]",
"group": "Set",
"readonly": false
},
"SCLEAR": {
"arguments": "key",
"group": "Set",
"readonly": false
},
"SMCLEAR": {
"arguments": "key [key ...]",
"group": "Set",
"readonly": false
},
"SEXPIRE": {
"arguments": "key seconds",
"group": "Set",
"readonly": false
},
"SEXPIREAT": {
"arguments": "key timestamp",
"group": "Set",
"readonly": false
},
"STTL": {
"arguments": "key",
"group": "Set",
"readonly": true
},
"SPERSIST": {
"arguments": "key",
"group": "Set",
"readonly": false
},
2014-07-30 08:18:38 +04:00
"TTL": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "KV",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"ZADD": {
"arguments": "key score member [score member ...]",
2014-07-30 08:18:38 +04:00
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"ZCARD": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"ZCLEAR": {
"arguments": "key",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"ZCOUNT": {
2014-07-30 08:18:38 +04:00
"arguments": "key min max",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": true
2014-07-30 08:18:38 +04:00
},
"ZEXPIRE": {
"arguments": "key seconds",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"ZEXPIREAT": {
"arguments": "key timestamp",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"ZINCRBY": {
2014-07-30 08:18:38 +04:00
"arguments": "key increment member",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"ZMCLEAR": {
"arguments": "key [key ...]",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"ZPERSIST": {
"arguments": "key",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"ZRANGE": {
2014-07-30 08:18:38 +04:00
"arguments": "key start stop [WITHSCORES]",
"group": "ZSet",
2014-08-25 10:18:23 +04:00
"readonly": true
},
"ZRANGEBYSCORE": {
2014-07-30 08:18:38 +04:00
"arguments": "key min max [WITHSCORES] [LIMIT offset count]",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"ZRANK": {
2014-07-30 08:18:38 +04:00
"arguments": "key member",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"ZREM": {
2014-07-30 08:18:38 +04:00
"arguments": "key member [member ...]",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"ZREMRANGEBYRANK": {
2014-07-30 08:18:38 +04:00
"arguments": "key start stop",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"ZREMRANGEBYSCORE": {
2014-07-30 08:18:38 +04:00
"arguments": "key min max",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": false
},
"ZREVRANGE": {
2014-07-30 08:18:38 +04:00
"arguments": "key start stop [WITHSCORES]",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"ZREVRANGEBYSCORE": {
2014-07-30 08:18:38 +04:00
"arguments": "key max min [WITHSCORES][LIMIT offset count]",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"ZREVRANK": {
"arguments": "key member",
2014-07-30 08:18:38 +04:00
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"ZSCAN": {
"arguments": "key cursor [MATCH match] [COUNT count] [ASC|DESC]",
"group": "ZSet",
"readonly": true
},
"ZSCORE": {
2014-07-30 08:18:38 +04:00
"arguments": "key member",
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"ZTTL": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "ZSet",
2014-07-30 09:52:34 +04:00
"readonly": true
},
"ZUNIONSTORE":{
"arguments": "destkey numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]",
"group": "ZSet",
"readonly": false
},
"ZINTERSTORE":{
"arguments": "destkey numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]",
"group": "ZSet",
"readonly": false
2014-08-25 10:18:23 +04:00
},
2014-08-27 06:29:17 +04:00
2014-10-02 11:40:53 +04:00
"ZRANGEBYLEX":{
"arguments": "key min max [LIMIT offset count]",
"group": "ZSet",
"readonly": true
},
"ZREMRANGBYLEX":{
"arguments": "key min max",
"group": "ZSet",
"readonly": false
},
"ZLEXCOUNT":{
"arguments": "key min max",
"group": "ZSet",
"readonly": true
},
2015-03-02 09:44:00 +03:00
"FLUSHALL": {
"arguments": "-",
"group": "Server",
"readonly": false
},
"FLUSHDB": {
"arguments": "-",
"group": "Server",
2014-08-27 06:29:17 +04:00
"readonly": false
},
"INFO": {
"arguments": "[section]",
"group": "Server",
"readonly": true
2014-09-02 18:36:50 +04:00
},
"EVAL": {
"arguments": "script numkeys key [key ...] arg [arg ...]",
"group": "Script",
"readonly": false
},
"EVALSHA": {
"arguments": "sha1 numkeys key [key ...] arg [arg ...]",
"group": "Script",
"readonly": false
},
"SCRIPT LOAD": {
"arguments": "script",
"group": "Script",
"readonly": false
},
"SCRIPT EXISTS": {
"arguments": "script [script ...]",
"group": "Script",
"readonly": false
},
"SCRIPT FLUSH": {
"arguments" : "-",
"group": "Script",
"readonly": false
2014-10-08 09:55:46 +04:00
},
2014-09-02 18:36:50 +04:00
2014-10-08 09:55:46 +04:00
"TIME": {
"arguments" : "-",
"group": "Server",
"readonly": true
2014-10-08 12:39:14 +04:00
},
"CONFIG REWRITE": {
"arguments" : "-",
"group": "Server",
"readonly": false
2014-11-27 09:03:44 +03:00
},
2015-03-04 04:15:28 +03:00
"CONFIG GET": {
"arguments" : "parameter",
"group": "Server",
"readonly": true
},
2014-11-27 09:03:44 +03:00
"DUMP": {
"arguments" : "key",
"group": "KV",
"readonly": true
},
"LDUMP": {
"arguments" : "key",
"group": "List",
"readonly": true
},
"HDUMP": {
"arguments" : "key",
"group": "Hash",
"readonly": true
},
"SDUMP": {
"arguments" : "key",
"group": "Set",
"readonly": true
},
"ZDUMP": {
"arguments" : "key",
"group": "ZSet",
"readonly": true
},
2015-03-02 09:44:00 +03:00
"XSCAN": {
2015-03-05 10:49:15 +03:00
"arguments": "type cursor [MATCH match] [COUNT count] [ASC|DESC]",
2015-03-02 09:44:00 +03:00
"group": "Server",
"readonly": true
},
"XHSCAN": {
2015-03-05 10:49:15 +03:00
"arguments": "key cursor [MATCH match] [COUNT count] [ASC|DESC]",
"group": "Hash",
"readonly": true
},
"XSSCAN": {
2015-03-05 10:49:15 +03:00
"arguments": "key cursor [MATCH match] [COUNT count] [ASC|DESC]",
"group": "Set",
"readonly": true
},
"XZSCAN": {
2015-03-05 10:49:15 +03:00
"arguments": "key cursor [MATCH match] [COUNT count] [ASC|DESC]",
"group": "ZSet",
"readonly": true
},
2014-11-27 09:03:44 +03:00
"RESTORE": {
"arguments" : "key ttl value",
"group" : "Server",
"readonly" : false
2015-02-03 09:22:12 +03:00
},
"ROLE": {
"arguments" : "-",
"group" : "Server",
"readonly" : true
2015-02-06 04:20:03 +03:00
},
"APPEND": {
"arguments" : "key value",
"group" : "KV",
"readonly" : false
},
"GETRANGE": {
"arguments" : "key start end",
"group" : "KV",
"readonly" : true
},
"SETRANGE": {
"arguments" : "key offset value",
"group" : "KV",
"readonly" : false
},
"STRLEN": {
"arguments" : "key",
"group" : "KV",
"readonly" : true
},
"BITCOUNT": {
"arguments" : "key [start] [end]",
"group" : "KV",
"readonly" : true
},
"BITOP": {
"arguments" : "operation destkey key [key ...]",
"group" : "KV",
"readonly" : false
},
"BITPOS": {
"arguments" : "key bit [start] [end]",
"group" : "KV",
"readonly" : true
},
"GETBIT": {
"arguments" : "key offset",
"group" : "KV",
"readonly" : true
},
"SETBIT": {
"arguments" : "key offset value",
"group" : "KV",
"readonly" : false
},
"HKEYEXISTS": {
"arguments" : "key",
"group" : "Hash",
"readonly" : true
},
"LKEYEXISTS": {
"arguments" : "key",
"group" : "List",
"readonly" : true
},
"SKEYEXISTS": {
"arguments" : "key",
"group" : "Set",
"readonly" : true
},
"ZKEYEXISTS": {
2015-03-05 10:49:15 +03:00
"arguments" : "key",
"group" : "ZSet",
"readonly" : true
2015-03-05 10:49:15 +03:00
},
"XLSORT": {
"arguments" : "key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]",
"group" : "List",
"readonly" : false
},
"XSSORT": {
"arguments" : "key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]",
"group" : "Set",
"readonly" : false
},
"XZSORT": {
"arguments" : "key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]",
"group" : "ZSet",
"readonly" : false
2014-10-08 09:55:46 +04:00
}
}