Mzlexcount
Bun

method

RedisClient.zlexcount

key: KeyLike,
min: string,
max: string
): Promise<number>;

Count the members in a sorted set within a lexicographical range

@param key

The sorted set key

@param min

Minimum value (use "[" for inclusive, "(" for exclusive, e.g., "[aaa")

@param max

Maximum value (use "[" for inclusive, "(" for exclusive, e.g., "[zzz")

@returns

Promise that resolves with the count of elements in the specified range

Referenced types

type KeyLike = string | ArrayBufferView | Blob