Mhstrlen
Bun

method

RedisClient.hstrlen

key: KeyLike,
field: string
): Promise<number>;

Get the string length of the value stored in a hash field

@param key

The hash key

@param field

The field name

@returns

Promise that resolves with the length of the string value, or 0 if the field doesn't exist

Referenced types

type KeyLike = string | ArrayBufferView | Blob