Integer data type
The String data type can store Integer values. An Integer can be increased in value via the INCR
command and decreased in value via the DECR
command.
You can increment and decrement an Integer by specific values using the INCRBY
and DECRBY
commands.
The String data type with an Integer value is most often used for counting.