From e0847dd62461001851da4c89f279e16b14c3eb4c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:38:04 +0200 Subject: Adding upstream version 1.13.0. Signed-off-by: Daniel Baumann --- docs/assets/demo.svg | 214 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 214 insertions(+) create mode 100644 docs/assets/demo.svg (limited to 'docs/assets/demo.svg') diff --git a/docs/assets/demo.svg b/docs/assets/demo.svg new file mode 100644 index 0000000..6213d56 --- /dev/null +++ b/docs/assets/demo.svg @@ -0,0 +1,214 @@ + + + + + + + + + + $ $ i $ ir $ ire $ ired $ iredi $ iredis $ iredis iredis 0.8.0redis-server 5.0.6 Home: https://iredis.ioIssues: https://iredis.io/issues127.0.0.1:6379> Ctrl-D to exit; 127.0.0.1:6379> keys * KEYS 127.0.0.1:6379> keys * KEYS 127.0.0.1:6379> keys * KEYS 127.0.0.1:6379> keys * KEYS (generic) KEYS pattern since: 1.0.0 complexity:O(N) with N being127.0.0.1:6379> keys * 127.0.0.1:6379> keys * 10) "hash1"11) "list:buildings"12) "hash3"13) "fooset" 14) "foo" 15) "myset"16) "hash2"17) "list:animals"18) "af"19) "somestream"20) "kkk"127.0.0.1:6379> type myset TTL TIME TYPE TOUCH 127.0.0.1:6379> type myset TYPE 127.0.0.1:6379> type myset TYPE 127.0.0.1:6379> type myset TYPE (generic) TYPE key since: 1.0.0 complexity:O(1) 127.0.0.1:6379> type myset kkk somestream af list:animals hash2 myset foo 127.0.0.1:6379> type myset myset mstream mylist1 myzset somestream list:animals 127.0.0.1:6379> type myset myset mylist1 myzset 127.0.0.1:6379> type myset myset 127.0.0.1:6379> type myset "set" 127.0.0.1:6379> set foo bar SET SREM SPOP SADD SYNC SAVE SORT 127.0.0.1:6379> smembers fooset SMOVE SMEMBERS 127.0.0.1:6379> smembers fooset SMEMBERS 127.0.0.1:6379> smembers fooset SMEMBERS 127.0.0.1:6379> SMEMBERS SMEMBERS (set) SMEMBERS key since: 1.0.0 complexity:O(N) where N is the s127.0.0.1:6379> SMEMBERS myset myset kkk somestream af list:animals hash2 foo 127.0.0.1:6379> SMEMBERS myset myset mstream mylist1 myzset somestream list:animals 127.0.0.1:6379> SMEMBERS myset myset mylist1 myzset 127.0.0.1:6379> SMEMBERS myset myset 127.0.0.1:6379> SMEMBERS myset 1) "foo" 2) "world" 3) "bar" 4) "hello" TTL TIME TYPE TYPE TYPE TYPE myset kkk somestream list:animals 127.0.0.1:6379> type cars cars Sicily abc 127.0.0.1:6379> type cars cars 127.0.0.1:6379> type cars cars 127.0.0.1:6379> type cars "zset" 127.0.0.1:6379> zscan kkk 0 ZREM ZADD ZSCAN ZRANK ZCARD ZSCORE ZRANGE 127.0.0.1:6379> zscan kkk 0 ZSCAN ZSCORE 127.0.0.1:6379> zscan kkk 0 ZSCAN ZSCORE 127.0.0.1:6379> ZSCAN ZSCAN (sorted_set) ZSCAN key cursor [MATCH pattern] [COUNT count] sinc127.0.0.1:6379> ZSCAN cars 0 cars myset kkk somestream af list:animals hash2 127.0.0.1:6379> ZSCAN cars cars 127.0.0.1:6379> ZSCAN cars (error) wrong number of arguments for 'zscan' command 127.0.0.1:6379> ZSCAN cars 0 127.0.0.1:6379> ZSCAN cars 0 127.0.0.1:6379> ZSCAN cars 0 (cursor) 0 1) 1367522908124000 "robins-car" 127.0.0.1:6379> type cars TOUCH 127.0.0.1:6379> type cars 127.0.0.1:6379> type cars 127.0.0.1:6379> type cars 127.0.0.1:6379> type cars cars af hash2 127.0.0.1:6379> type list:animals list:animals list:buildings list:restaurant mylist1 Sicily 127.0.0.1:6379> type list:animals list:animals list:buildings list:restaurant mylist1 127.0.0.1:6379> type list:animals list:animals 127.0.0.1:6379> type list:animals "list" 127.0.0.1:6379> lrange list:animals 0 6 LSET LREM LPOP LLEN LTRIM LPUSH LRANGE 127.0.0.1:6379> llen testKeyDB2 LLEN 127.0.0.1:6379> LLEN LLEN (list) LLEN key since: 1.0.0 complexity:O(1) 127.0.0.1:6379> LLEN list:animals list:animals kkk 127.0.0.1:6379> LLEN i list:animals list:buildings Sicily list:restaurant mylist1 127.0.0.1:6379> LLEN 127.0.0.1:6379> LLEN list:animals mylist1 127.0.0.1:6379> LLEN list:animals mylist1 127.0.0.1:6379> LLEN list:animals 127.0.0.1:6379> LLEN list:animals (integer) 51 LREM LLEN 127.0.0.1:6379> lrange list:animals 0 6 LREM LRANGE 127.0.0.1:6379> lrange list:animals 0 6 LRANGE 127.0.0.1:6379> lrange list:animals 0 6 LRANGE 127.0.0.1:6379> lrange list:animals 0 6 LRANGE 127.0.0.1:6379> lrange list:animals 0 6 LRANGE (list) LRANGE key start stop since: 1.0.0 complexity:O(S+N) wher127.0.0.1:6379> lrange list:animals 0 6 list:animals cars myset kkk somestream af hash2 127.0.0.1:6379> lrange list:animals 0 6 list:animals list:buildings list:restaurant mylist1 Sicily 127.0.0.1:6379> lrange list:animals list:animals 127.0.0.1:6379> lrange list:animals 0 6 127.0.0.1:6379> lrange list:animals 0 6 127.0.0.1:6379> lrange list:animals 0 6 127.0.0.1:6379> lrange list:animals 0 6 127.0.0.1:6379> lrange list:animals 0 6 1) "wolf" 2) "turtle" 3) "tiger" 4) "squirrel" 5) "spider" 6) "snake" 7) "snail" 127.0.0.1:6379> type list:animals 127.0.0.1:6379> type list:animals 127.0.0.1:6379> type list:animals 127.0.0.1:6379> type list:animals 127.0.0.1:6379> type list:animals list:animals cars myset somestream af list:animals cars myset 127.0.0.1:6379> type kkk kkk 127.0.0.1:6379> type somestream somestream 127.0.0.1:6379> type af af 127.0.0.1:6379> type af "string" 127.0.0.1:6379> get foo GET GETSET GETBIT GEOPOS GEOADD GEOHASH GEODIST 127.0.0.1:6379> get foo GET GETSET GETBIT GEOPOS GEOADD GEOHASH GEODIST 127.0.0.1:6379> get foo GET GETSET GETBIT GETRANGE (string) GET key since: 1.0.0 complexity:O(1) 127.0.0.1:6379> get foo af list:animals cars myset kkk somestream hash2 127.0.0.1:6379> get a af a abc cars hash2 hash3 hash1 127.0.0.1:6379> get af 127.0.0.1:6379> get af "asdf" 127.0.0.1:6379> get af GETBIT GEOPOS 127.0.0.1:6379> get af GETBIT GEOPOS 127.0.0.1:6379> get af GETBIT GETRANGE 127.0.0.1:6379> get af cars myset 127.0.0.1:6379> get af abc cars 127.0.0.1:6379> get af 127.0.0.1:6379> get af i 127.0.0.1:6379> get af in 127.0.0.1:6379> get af inv 127.0.0.1:6379> get af inva 127.0.0.1:6379> get af inval 127.0.0.1:6379> get af invali 127.0.0.1:6379> get af invalid 127.0.0.1:6379> get af invalide 127.0.0.1:6379> get af invalide 127.0.0.1:6379> get af invalide i 127.0.0.1:6379> get af invalide in 127.0.0.1:6379> get af invalide inp 127.0.0.1:6379> get af invalide inpu 127.0.0.1:6379> get af invalide input 127.0.0.1:6379> get 127.0.0.1:6379> ge 127.0.0.1:6379> g 127.0.0.1:6379> del _kombu.binding.celeryev DEL DECR DUMP DECRBY DBSIZE DISCARD DEBUG OBJECT 127.0.0.1:6379> del _kombu.binding.celeryev DEL DECR DECRBY DEBUG OBJECT DEBUG SEGFAULT 127.0.0.1:6379> del _kombu.binding.celeryev DEL (generic) DEL key since: 1.0.0 complexity:O(N) where N is the nu127.0.0.1:6379> del _kombu.binding.celeryev 127.0.0.1:6379> del a\"bc 127.0.0.1:6379> del af af 127.0.0.1:6379> del af (integer) 1 127.0.0.1:6379> Goodbye! $ + \ No newline at end of file -- cgit v1.2.3