Key/Value API v0.5.8

Introduction

Data types

Data modeling

String commands

List commands

Set commands

Sorted set commands

Hash commands

Integer

Integer data type

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.