API ReferenceHashes
HLength
Get the number of fields in a hash
Syntax
Redix.HLength(key, callback)Parameters
Prop
Type
Returns
Prop
Type
Example
Redix.HLength('player:123', function(err, count)
if not err then
print('Player has ' .. count .. ' fields')
end
end)