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

Dynamic keys: create a set behind-the-scenes with all the dynamic keys names #19

Open
Radagaisus opened this issue Jul 19, 2015 · 0 comments

Comments

@Radagaisus
Copy link
Owner

Great for iterating over dynamic keys.

Assuming:

@zset 'books', key: (author) -> "books:#{author}"

Allow developers to query a books_keys for all the dynamic keys that were generated. Or, .dynamic_keys_for('books'), or .keys_for('books'), or .keys('books'), or other options.

The end-developers will manually need to remove items from these lists, as there's no easy (or necessary) way to automatically do this for them.

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

No branches or pull requests

1 participant