From 639a16b8441f4550c1ddef92e7e795106b153cc1 Mon Sep 17 00:00:00 2001 From: Satoshi Konno Date: Sun, 21 Aug 2022 17:42:20 +0900 Subject: [PATCH] Update server_inside.md --- doc/server_inside.md | 80 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 73 insertions(+), 7 deletions(-) diff --git a/doc/server_inside.md b/doc/server_inside.md index 2db0f96..004dd31 100644 --- a/doc/server_inside.md +++ b/doc/server_inside.md @@ -18,11 +18,77 @@ The go-redis handles all system commands such as PING and SELECT automatically, |O |QUIT |1.0.0 | | |O |SELECT |1.0.0 | | -## User commands +## Generic commands -|Supported|Command|Redis Version|Note | -|---------|-------|-------------|---------------------------------| -|O |GET |1.0.0 | | -|O |GETSET |1.0.0 | | -|O |SET |1.0.0 |Any options are not supported yet| -|O |SETNX |1.0.0 | | +|Supported|Command |Redis Version|Note | +|---------|------------------|-------------|---------------------------------| +|- |COPY |6.2.0 | | +|O |DEL |1.0.0 | | +|- |DUMP |2.6.0 | | +|O |EXISTS |1.0.0 | | +|O |EXPIRE |1.0.0 | | +|O |EXPIREAT |1.2.0 | | +|- |EXPIRETIME |7.0.0 | | +|O |KEYS |1.0.0 | | +|- |MOVE |1.0.0 | | +|- |MIGRATE |2.6.0 | | +|- |RANDOMKEY |1.0.0 | | +|O |RENAME |1.0.0 | | +|O |RENAMENX |1.0.0 | | +|- |RESTORE |2.8.0 | | +|- |SCAN |2.8.0 | | +|- |SORT |1.0.0 | | +|- |SORT_RO |7.0.0 | | +|- |TOUCH |3.2.1 | | +|O |TTL |1.0.0 | | +|O |TYPE |1.0.0 | | +|- |UNLINK |4.0.0 | | +|- |WAIT |3.0.0 | | + +## String commands + +|Supported|Command |Redis Version|Note | +|---------|------------------|-------------|---------------------------------| +|O |APPEND |2.0.0 | | +|O |DECR |1.0.0 | | +|O |DECRBY |1.0.0 | | +|O |GET |1.0.0 | | +|- |GETDEL |6.2.0 | | +|- |GETEX |6.2.0 | | +|O |GETRANGE |2.4.0 | | +|O |GETSET |1.0.0 | | +|O |INCR |1.0.0 | | +|O |INCRBY |1.0.0 | | +|- |INCRBYFLOAT |2.6.0 | | +|- |LCS |7.0.0 | | +|O |MGET |1.0.0 | | +|O |MSET |1.0.1 | | +|O |MSETNX |1.0.1 | | +|- |PSETNX |2.6.0 | | +|O |SET |1.0.0 |Any options are not supported yet| +|- |SETEX |2.0.0 | | +|O |SETNX |2.0.0 | | +|- |SERANGE |2.2.0 | | +|O |STRLEN |2.2.0 | | +|O |SUBSTR |1.0.0 | | + +## Hash commands + +|Supported|Hash Command |Redis Version|Note | +|---------|------------------|-------------|---------------------------------| +|O |HDEL |2.0.0 | | +|O |HEXISTS |2.0.0 | | +|O |HGET |2.0.0 | | +|O |HGETALL |2.0.0 | | +|- |HINCRBY |2.0.0 | | +|- |HINCRBYFLOAT |2.6.0 | | +|O |HKEYS |2.0.0 | | +|O |HLEN |2.0.0 | | +|O |HMGET |2.0.0 | | +|O |HMSET |2.0.0 | | +|- |HRANDFIELD |6.2.0 | | +|- |HSCAN |2.8.0 | | +|O |HSET |2.0.0 | | +|O |HSETNX |2.0.0 | | +|O |HSTRLEN |3.2.0 | | +|O |HVALS |2.0.0 | |