Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 247 Bytes

Returns the number of fields contained in the hash stored at key.

@return

@integer-reply: number of fields in the hash, or 0 when key does not exist.

@examples

HSET myhash field1 "Hello"
HSET myhash field2 "World"
HLEN myhash
Something went wrong with that request. Please try again.