Mhgetall
Bun

method

RedisClient.hgetall

key: KeyLike
): Promise<null | Record<string, string>>;

Get all the fields and values in a hash

@param key

The hash key

@returns

Promise that resolves with an object containing all fields and values

Referenced types

type KeyLike = string | ArrayBufferView | Blob