yeahoffline / redis-mock

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

Multi: TypeError: operations.decr is not a function #99

Closed rjnienaber closed 5 years ago

rjnienaber commented 5 years ago

I was trying to use the multi command today and I kept getting this error:

TypeError: operations.decr is not a function

Looking into the code, this list appears to be incomplete. Would it be as simple as adding it to this list?

As a workaround, I used .incrby(<key>, -1).

yeahoffline commented 5 years ago

feel free to submit a pr