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

Adopt DBI's approach for catalog & schema, deprecate databaseSchema. #283

Open
schuemie opened this issue Aug 15, 2024 · 1 comment
Open
Assignees
Milestone

Comments

@schuemie
Copy link
Member

These are two solutions to the same problem, but the DBI approach keeps the two separate, for example making it easier to add quotes.

From discussion #275

@schuemie schuemie added this to the v7.0.0 milestone Aug 15, 2024
@schuemie
Copy link
Member Author

Not yet sure if that means DBI::Id() or R's native I() function.

E.g. this should work:

getTableNames(connection, DBI::Id(catalog = "cdm", schema = "dbo"))

Also make sure all DBI functions support DBI::Id(). From the DBI documentation, name should be character string, DBI::Id(), or SQL().

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

2 participants