Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional arguments to redis endpoints #13

Open
mynameisfiber opened this issue Jun 19, 2012 · 0 comments
Open

Add optional arguments to redis endpoints #13

mynameisfiber opened this issue Jun 19, 2012 · 0 comments

Comments

@mynameisfiber
Copy link

Some of the redis commands take optional arguments that can be particularly useful. Of note is the WITHSCORES and the LIMIT parameters to the various get methods for sorted sets.

In commit bfd8631 I added a ZRevrangeWithScores method to quickly allow me to use redis for my application that requires knowing the scores in a sorted set. More thought should be added to this (potentially using keyword arguments with default values?).

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

No branches or pull requests

1 participant