duckdb / sqlite_scanner

DuckDB extension to read and write to SQLite databases
MIT License
190 stars 19 forks source link

Inverse operation for CALL sqlite_attach(db_name) #19

Closed smartexpert closed 1 year ago

smartexpert commented 1 year ago

There doesn't appear to be any documented way to detach a SQLite database from DuckDB CLI that was attached using CALL sqlite_attach(db_name)

hannes commented 1 year ago

There is indeed none at the moment

Mytherin commented 1 year ago

The new ATTACH syntax has a corresponding DETACH. We won't implement an inverse for sqlite_attach as it is mostly kept around for backwards compatibility reasons at this point.