await redis.zadd("key", { score: 1, member: "one"}, { score: 2, member: "two" }, ); const elements = await redis.zlexcount("key", "two", "+"); console.log(elements); // 1
Returns the number of elements in the sorted set stored at key filtered by lex.
-
+
Was this page helpful?