yeahoffline / redis-mock

Node.js redis client mock
213 stars 111 forks source link

Add type command #71

Closed steve148 closed 6 years ago

steve148 commented 6 years ago

Adds the type command.

This PR also updates the type of sorted set from sortedset to zset. This makes sure that when running the TYPE command on a sorted set you will receive the expected return value (as per the docs).

Let me know if there's anything I missed / more that I can do!

animir commented 6 years ago

@steve148 I've merged your PR to my repo https://github.com/animir/redis-mock Please, read this issue https://github.com/yeahoffline/redis-mock/issues/72

steve148 commented 6 years ago

Thanks @yeahoffline!