Generic

UNLINK

Removes the specified keys. A key is ignored if it does not exist.

Arguments

keysbody*List[str]required

One or more keys to unlink.

Response

intrequired

The number of keys that were unlinked.

Basic
assert redis.unlink("key1", "key2", "key3") == 3
Loading search…