await redis.lpush("key", "a", "b", "c"); const length = await redis.rpushx("key", "d"); console.log(length); // 4
Push an element at the end of the list only if the list exists.
0
Was this page helpful?