decrement
This block is part of the redis group and was last modified in core v13.0.6.
Redis Key Selection Required
This block relies on a Redis key to perform its redis releated actions. You must manually select the Redis key you want to use in the flow in the blueprint using the Redis key selector modal. To access the modal, click the white button on the block.
decrement v11.0.0 Updated v13.0.6Decrements the number stored at key by one. If the key does not exist, it is set to 0 before performing the operation.
In pins 1 + flow
- flow
flow - number required
numberNumber to decrement given the key with.
Out pins 3 + flow
- flow
flow - number
numberNew number.
- error
value - key
v13.0.6valuecurrent redis key, this outpin be handy when using dynamic redis keys
redis decr |
decr |
A typical wiring for decrement: a function trigger starts the flow; the flow out pin feeds debug.

Version history
Introduced in v11.0.0.
Last modified in v13.0.6.
Back to
redis Return to the main group to view all sub-groups Back to redis Return to the group to view all blocks within this group
