1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-22 10:08:54 +00:00

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.
This commit is contained in:
JenniferStamm 2019-11-01 12:41:06 +01:00 committed by GitHub
parent ea73801d9b
commit d9ff0ab379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ HINCRBY key field increment # increment value in hash by X
HDEL key field [field ...] # delete one or more hash fields HDEL key field [field ...] # delete one or more hash fields
HEXISTS key field # determine if a hash field exists HEXISTS key field # determine if a hash field exists
HKEYS key # get all the fields in a hash 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 HSTRLEN key field # get the length of the value of a hash field
HVALS key # get all the values in a hash HVALS key # get all the values in a hash