-
Notifications
You must be signed in to change notification settings - Fork 19
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
Allowing selecting Redis database #62
Comments
I think it shouldn't be the only one way to set DB number. |
This is excellent feedback @MichKonSher, thank you! Agreed: the constructor option, if implemented at all, should be syntactic sugar around the primary interface which will be the explicit implementation of the |
Do you see a use case for selecting a DB at runtime (after the constructor is called)? |
@holla2040
|
Need to add the ability to chose a Redis database number.
Simplest implementation would be to just add a
SELECT
command implementation that the consumer must call explicitly.Slightly better UX would be to add an option, defaulted to
0
, to theRedis
constructor.Discussed in #61
Originally posted by MichKonSher April 12, 2023
Hello!
Is it possible to select db on Redis intance, such as db0, db1. e.t.c.?
I didn't find possibility to do this or to execute custom command.
The text was updated successfully, but these errors were encountered: