v3.3.0
Added
Added support for passing Map and Object to hmset
This is a stopgap solution until real argument and reply transformers is implemented and fully compatible with ioredis
ZADD command (#321 @ddunkin)
redis.zadd('myzset', '1', 'one', '1', 'uno', '2', 'two', '3', 'three') // returns `4` as 4 items got addedZRANGE command (#321 @ddunkin)
redis.zrange('myzset', 0, -1) // ['one', 'uno', 'two', 'three']ZREVRANGE command (#321 @ddunkin)
redis.zrevrange('myzset', 0, -1) // ['three', 'two', 'uno', 'one']ZREMRANGEBYRANK command (#321 @ddunkin)
redis.zremrangebyrank('myzset', 0, 2) // returns '3' as that’s how many items got deleted
redis.zrange('myzset', 0, -1) // ['three']