Skip to content

Conversation

piever
Copy link
Contributor

@piever piever commented Oct 2, 2024

This PR adds methods (previously implemented only for DuckDB.DB) to check whether a connection is open using Base.isopen and to close it using Base.close. It is consistent with DuckDB.DB and is also what other julia DB packages do (e.g. MySQL.jl).

@Mytherin Mytherin merged commit 897f93d into duckdb:main Oct 3, 2024
6 checks passed
@Mytherin
Copy link
Collaborator

Mytherin commented Oct 3, 2024

Thanks!

@piever piever deleted the pv/open branch October 3, 2024 22:48
@piever
Copy link
Contributor Author

piever commented Oct 4, 2024

Thanks for the quick merge! Sorry to keep pestering, but would it be possible to tag a release also for the julia package with this and the latest bugfixes?

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Oct 16, 2024
Avoid schema changes with IF NOT EXISTS (duckdb/duckdb#14143)
add method to check whether julia connection is open (duckdb/duckdb#14195)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Oct 16, 2024
Avoid schema changes with IF NOT EXISTS (duckdb/duckdb#14143)
add method to check whether julia connection is open (duckdb/duckdb#14195)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
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 this pull request may close these issues.

2 participants