Mhmset
Bun

method

RedisClient.hmset

key: KeyLike,
fieldValues: string[]
): Promise<string>;

Set multiple hash fields to multiple values

@param key

The hash key

@param fieldValues

An array of alternating field names and values

@returns

Promise that resolves with "OK" on success

Referenced types

type KeyLike = string | ArrayBufferView | Blob