ledisdb/doc/commands.json

691 lines
15 KiB
JSON
Raw Normal View History

{
2014-07-30 08:18:38 +04:00
"BCOUNT": {
"arguments": "key [start end]",
"group": "Bitmap",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"BDELETE": {
"arguments": "key",
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
"BEXPIRE": {
"arguments": "key seconds",
2014-07-30 08:18:38 +04:00
"group": "Bitmap",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"BEXPIREAT": {
"arguments": "key timestamp",
2014-07-30 08:18:38 +04:00
"group": "Bitmap",
2014-08-11 08:38:07 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"BGET": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "Bitmap",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"BGETBIT": {
"arguments": "key offset",
"group": "Bitmap",
2014-07-30 09:52:34 +04:00
"readonly": true
},
2014-07-30 08:18:38 +04:00
"BMSETBIT": {
"arguments": "key offset value [offset value ...]",
"group": "Bitmap",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"BOPT": {
"arguments": "operation destkey key [key ...]",
"group": "Bitmap",
2014-07-30 09:52:34 +04:00
"readonly": false
2014-07-30 08:18:38 +04:00
},
"BPERSIST": {
"arguments": "key",
2014-07-30 08:18:38 +04:00
"group": "Bitmap",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"BSETBIT": {
"arguments": "key offset value",
"group": "Bitmap",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"BTTL": {
"arguments": "key",
"group": "Bitmap",
2014-07-30 09:52:34 +04:00
"readonly": true
},
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
},
"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
},
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-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
},
"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
},
"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
},
2014-09-25 06:44:07 +04:00
"BEGIN": {
"arguments": "-",
"group": "Transaction",
"readonly": false
},
"COMMIT": {
"arguments": "-",
"group": "Transaction",
"readonly": false
},
"ROLLBACK": {
"arguments": "-",
"group": "Transaction",
"readonly": false
},
2014-09-09 05:53:26 +04:00
"XSCAN": {
2014-08-27 06:29:17 +04:00
"arguments": "key [MATCH match] [COUNT count]",
"group": "KV",
"readonly": true
2014-08-27 06:29:17 +04:00
},
2014-09-09 05:53:26 +04:00
"HXSCAN": {
2014-08-27 06:29:17 +04:00
"arguments": "key [MATCH match] [COUNT count]",
"group": "Hash",
"readonly": true
2014-08-27 06:29:17 +04:00
},
2014-09-09 05:53:26 +04:00
"LXSCAN": {
2014-08-27 06:29:17 +04:00
"arguments": "key [MATCH match] [COUNT count]",
"group": "List",
"readonly": true
2014-08-27 06:29:17 +04:00
},
2014-09-09 05:53:26 +04:00
"SXSCAN": {
2014-08-27 06:29:17 +04:00
"arguments": "key [MATCH match] [COUNT count]",
"group": "Set",
"readonly": true
2014-08-27 06:29:17 +04:00
},
2014-09-09 05:53:26 +04:00
"ZXSCAN": {
2014-08-27 06:29:17 +04:00
"arguments": "key [MATCH match] [COUNT count]",
"group": "ZSet",
"readonly": true
2014-08-27 06:29:17 +04:00
},
2014-09-09 05:53:26 +04:00
"BXSCAN": {
2014-08-27 06:29:17 +04:00
"arguments": "key [MATCH match] [COUNT count]",
"group": "Bitmap",
"readonly": true
},
2014-10-20 18:36:16 +04:00
"XREVSCAN": {
"arguments": "key [MATCH match] [COUNT count]",
"group": "KV",
"readonly": true
},
"HXREVSCAN": {
"arguments": "key [MATCH match] [COUNT count]",
"group": "Hash",
"readonly": true
},
"LXREVSCAN": {
"arguments": "key [MATCH match] [COUNT count]",
"group": "List",
"readonly": true
},
"SXREVSCAN": {
"arguments": "key [MATCH match] [COUNT count]",
"group": "Set",
"readonly": true
},
"ZXREVSCAN": {
"arguments": "key [MATCH match] [COUNT count]",
"group": "ZSet",
"readonly": true
},
"BXREVSCAN": {
"arguments": "key [MATCH match] [COUNT count]",
"group": "Bitmap",
"readonly": true
},
"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-10-08 09:55:46 +04:00
}
}