I'm very new to redis and I'm trying to do the following inside a tranaction:
increment key add incremented value from before to a set
using redis commands it would be something like
multi
i = incr "value"
sadd "set" i
exec
Is there any redis command that would do that in one step with out needing two transactions and handling the value from the code (python code in my case)?
Many thanks