Complete the code to get all fields and values from the hash named 'user:1'.
HGETALL [1]The command HGETALL user:1 retrieves all fields and values from the hash stored at key 'user:1'.
Complete the code to retrieve all fields and values from the hash stored at key 'session:42'.
HGETALL [1]The correct key is 'session:42' including the colon. The command HGETALL session:42 returns all fields and values in that hash.
Fix the error in the command to get all fields and values from the hash 'config:app'.
HGETALL [1]The key name must use a colon ':' as separator, so config:app is correct. Other options use dots, dashes, or underscores which are not the key here.
Fill both blanks to retrieve all fields and values from the hash with key 'profile:100'.
[1] [2]
The command HGETALL profile:100 fetches all fields and values from the hash stored at key 'profile:100'.
Fill both blanks to get all fields and values from the hash 'settings:theme'.
[1] [2]
The correct command is HGETALL settings:theme to retrieve all fields and values from the hash with key 'settings:theme'.