Increase and Decrease
You can Increase and Decrease Int Values.
await redis.incr("my_key") # my_key + 1
await redis.decr("my_key") # my_key - 1
ValueError
if the Key is not an Int.
If the Key doesn't exists it will set the Key to 1
or -1
You can Increase and Decrease Int Values.
await redis.incr("my_key") # my_key + 1
await redis.decr("my_key") # my_key - 1
ValueError
if the Key is not an Int.
If the Key doesn't exists it will set the Key to 1
or -1