Mrpushx
Bun

method

RedisClient.rpushx

key: KeyLike,
value: KeyLike
): Promise<number>;

Append a value to a list, only if the list exists

@param key

The list key

@param value

The value to append

@returns

Promise that resolves with the length of the list after the push operation, or 0 if the list doesn't exist

Referenced types

type KeyLike = string | ArrayBufferView | Blob