Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

EXISTS accepts a variable number of keys #156

Closed
stleon opened this issue Oct 18, 2016 · 1 comment
Closed

EXISTS accepts a variable number of keys #156

stleon opened this issue Oct 18, 2016 · 1 comment

Comments

@stleon
Copy link

stleon commented Oct 18, 2016

From the docs:

Since Redis 3.0.3 the command accepts a variable number of keys

But in source code accepts only one key:

def exists(self, key):
    """Check if key exists."""
    fut = self._conn.execute(b'EXISTS', key)
    return wait_convert(fut, bool)

Thanks!

@popravich
Copy link
Contributor

Updated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants