node-redis icon indicating copy to clipboard operation
node-redis copied to clipboard

fix(client): ZINTERCARD with LIMIT 0 must emit the argument

Open codeXsidd opened this issue 1 month ago • 1 comments

Problem

When calling \zInterCard\ with options object { LIMIT: 0 }, the \LIMIT 0\ argument is dropped from the command arguments sent to Redis.

In Redis, \ZINTERCARD numkeys key [key ...] [LIMIT limit]\ supports \LIMIT 0\ to mean unlimited cardinality. Furthermore, passing \

codeXsidd avatar Oct 17 '26 06:10 codeXsidd

Thanks, valid.

nkaradzhov avatar Oct 19 '26 11:10 nkaradzhov