-
Notifications
You must be signed in to change notification settings - Fork 75
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
Driver object should optionally contain connection information #280
Comments
Is there any concern this would increase the chances of exposing db passwords inadvertently? Obviously this is not really a concern in the testing cases. |
We could do something like drv <- RPostgres(..., password = function() get_password_from_keychain(...)) and have drv <- RPostgres(...)
dbConnect(drv, password = ...) |
Maybe a new |
Prefer aggregation over inheritance, they say. |
Restrictions for arguments:
|
Pros of a new connector class:
Cons:
|
Needs documentation tweaks. |
Would be nice to have a |
I forgot -- what do we need a |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
Hannes suggests to store the information how to connect, i.e. the arguments to
dbConnect()
, in the driver object.Solves a bunch of problems:
CC @hannesmuehleisen.
The text was updated successfully, but these errors were encountered: