Generic

TOUCH

Alters the last access time of one or more keys

Arguments

keysbody*List[str]required

One or more keys.

Response

int

The number of keys that were touched.

Example
redis.touch("key1", "key2", "key3")
Loading search…