You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
className
s 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.
The text was updated successfully, but these errors were encountered: