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

is there a method to flush() just the configured className keys? #46

Open
carlos-lopez opened this issue Sep 8, 2016 · 0 comments
Open

Comments

@carlos-lopez
Copy link

Since flush() it's just a shortcut to FLUSHDB, and raccoon accepts a .config.className to prefix its keys, it would be great to have a method for removing only those keys, without actually flushing the full db.

Use cases include multiple executions of raccoon (with different classNames each), and multiple executions of the same configuration (ensuring removal of previous runs). Also, being able to use an existing redis instance holding other information besides raccoon keys.

Seems easy to do, but I'd like to have your input too, also to take into account any plans to integrate other DB technologies, etc.

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