Complete the code to get all field names from a Redis hash.
HKEYS [1]The HKEYS command returns all the field names (keys) in the specified hash. Here, myhash is the hash key.
Complete the code to get all values from a Redis hash.
HVALS [1]The HVALS command returns all the values in the specified hash. Here, user:1000 is the hash key.
Fix the error in the command to get all field names from the hash named 'profile'.
HKEYS [1]The correct hash key is profile. Using other keys or spaces causes errors or wrong results.
Fill both blanks to get all values from the hash named 'settings'.
[1] [2]
The command HVALS settings returns all values from the hash named settings.
Fill all three blanks to get all field names from the hash named 'config:app'.
[1] [2]:[3]
The correct command is HKEYS config:app. Here, config:app is the full hash key name. The blanks represent the command and parts of the key.