From d9ff0ab37984971a83e60d7934dad665ef7d5a5f Mon Sep 17 00:00:00 2001 From: JenniferStamm Date: Fri, 1 Nov 2019 12:41:06 +0100 Subject: [PATCH] update redis cheatsheet HLEN had the same description as HKEYS. Fixed it to say that it gets the number of fields instead of the fields themselves. --- databases/redis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/databases/redis.sh b/databases/redis.sh index 5665af4..9fbce26 100644 --- a/databases/redis.sh +++ b/databases/redis.sh @@ -115,7 +115,7 @@ HINCRBY key field increment # increment value in hash by X HDEL key field [field ...] # delete one or more hash fields HEXISTS key field # determine if a hash field exists HKEYS key # get all the fields in a hash -HLEN key # get all the fields in a hash +HLEN key # get the number of fields in a hash HSTRLEN key field # get the length of the value of a hash field HVALS key # get all the values in a hash