Saturday, 18 April 2015

HSTRLEN key field

Syntax
HSTRLEN key field
    Returns the string length of the value associated with this key.

127.0.0.1:6379> hmset employee 1 "Sudheer" 2 "Kiran Kumar" 3 "Naveen" 4 "PTR PTR" 
OK 
127.0.0.1:6379> hstrlen employee 2 
7

 
Prevoius                                                 Next                                                 Home

No comments:

Post a Comment