Mhlen
Bun

method

RedisClient.hlen

key: KeyLike
): Promise<number>;

Get the number of fields in a hash

@param key

The hash key

@returns

Promise that resolves with the number of fields

Referenced types

type KeyLike = string | ArrayBufferView | Blob