AhmedFaud
AhmedFaud

Reputation: 221

How reset key increment in Redis after DECR?

How reset key increment in Redis to zero? In documentation did not find command

Upvotes: 3

Views: 1781

Answers (1)

The Real Bill
The Real Bill

Reputation: 15773

You can either delete it or simply SET it to zero.

Upvotes: 5

Related Questions