HSTRLEN
Since 1.1.0Hashes
Syntax
HSTRLEN key fieldReturns the length, in bytes, of the value of field in the hash at key.
Reply
- The length;
0if the field or the key does not exist.
Examples
> HSET u name Grace
(integer) 1
> HSTRLEN u name
(integer) 5