Florents-Tselai / duckdb-utils

CLI tool and Python library for manipulating DuckDB databases
https://duckdb-utils.tselai.com
Other
0 stars 0 forks source link

connection closes after insert_all #12

Open Florents-Tselai opened 1 month ago

Florents-Tselai commented 1 month ago

see a2ad654135a6d829dea40d01e3a12eae9fbee6c5

Florents-Tselai commented 1 month ago

Connections are closed implicitly when they go out of scope or if they are explicitly closed using close(). Once the last connection to a database instance is closed, the database instance is closed as well. See https://duckdb.org/docs/api/python/dbapi#default-connection