Optional blockingOptional dataUsed for "database" commands to enforce type checking.
Private loggerMaximum number of parameters allowed. -1 for no maximum.
Minimum number of parameters require.
Optional pubUsed when PUB/SUB is in effect.
Optional signSign is used in commands with a compliment command. The only current example is INCR/DECR. Sign is 1 for INCR and -1 for DECR
Optional txUsed in transactions to enqueue a command.
Every command must implement the execute method.
Available since 2.0.0.
HGETALL key
Returns all fields and values of the hash stored at key. In the returned value, every field name is followed by its value, so the length of the reply is twice the size of the hash.
Return value
Array reply: list of fields and their values stored in the hash, or an empty list when key does not exist.
Examples