Arguments
str
required
The key of the hash.
str
required
The name of the field.
Response
0 if the hash or field does not exist. Otherwise the length of the string.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
length = redis.hstrlen("key", "field")
Returns the string length of a value in a hash.
0 if the hash or field does not exist. Otherwise the length of the string.length = redis.hstrlen("key", "field")
Was this page helpful?