I am storing some values in redis
like for key: 1
the value will be
{"counter":1,"counter1":2}
Now I need to reset value of counter
while the counter1
should be remaining same.
To increase counter I am use the command SETEX mykey 60 redis
.
But it will also reset the value of counter1
. So is there any way I can reset one value for a single key.
Let me know if I need to add some more info.