ledisdb/doc/commands.json

418 lines
9.0 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-07-30 09:52:34 +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": {
"arguments": "-",
"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
},
"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-07-30 09:52:34 +04:00
"readonly": false
},
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": {
"arguments": "host port",
"group": "Replication",
2014-07-30 09:52:34 +04:00
"readonly": false
},
2014-07-30 08:18:38 +04:00
"SYNC": {
"arguments": "index offset",
"group": "Replication",
2014-07-30 09:52:34 +04:00
"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-07-30 09:52:34 +04:00
"readonly": false
},
"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
}
}