Removes the specified keys. A key is ignored if it does not exist.
assert redis.unlink("key1", "key2", "key3") == 3
One or more keys to unlink.
The number of keys that were unlinked.
Was this page helpful?