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

Feat request: assert_connection #60

Closed
selkamand opened this issue Apr 3, 2023 · 1 comment · Fixed by #126
Closed

Feat request: assert_connection #60

selkamand opened this issue Apr 3, 2023 · 1 comment · Fixed by #126

Comments

@selkamand
Copy link
Owner

No description provided.

@selkamand
Copy link
Owner Author

There is no baseR 'connection' primitive/object. The most common connection objects are those created by the DBI package. These are S4 objects which inherit from the "DBIConnection" virtual class. My feeling is that these DBIConnection derived objects are ubiquitous enough that is_connection() could effectively be inherits(x, "DBIConnection"). We can add more class checks to is_connection() in the future if competing database interfacing packages roll their own connection class.

selkamand added a commit that referenced this issue Nov 13, 2024
@selkamand selkamand linked a pull request Nov 13, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant