stipsan / ioredis-mock

Emulates ioredis by performing all operations in-memory.
MIT License
333 stars 125 forks source link

fix: make `hscan` return flat list of entries #1300

Closed silverwind closed 1 year ago

silverwind commented 1 year ago

Fixes: https://github.com/stipsan/ioredis-mock/issues/962 Ref: https://redis.io/commands/scan/#return-value

HSCAN [returns an] array of elements contain two elements, a field and a value, for every returned element of the Hash.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 8.8.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: