Mhgetall
Bun

method

RedisClient.hgetall

key: KeyLike
): Promise<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, or empty object if key does not exist

Referenced types

type KeyLike = string | ArrayBufferView | Blob