Closed dioptre closed 4 months ago
await conn.query(`ATTACH 'http://localhost:8010/filename.db' (READ_ONLY)`);
This + potentially USE 'filename'
has to work, for sure in version matching duckdb 0.10.0 (any version published in the last two weeks), probably also before but not sure.
Potentially related, see also this discussion on how to add files to the filesystem: https://github.com/duckdb/duckdb_spatial/discussions/275.
I will add a test demoing this and come back to this.
Thanks! Exactly doing this in the spatial example works!
What happens?
Tried all manner of operations to get db.open to work, and seems to fail.
Main error is:
or
To Reproduce
also tried
also
Browser/Environment:
Firefox
Device:
m2
DuckDB-Wasm Version:
106 (0.9.2) db version also matched
DuckDB-Wasm Deployment:
https://cdn.jsdelivr.net/npm/@duckdb/duckdb-wasm@1.28.1-dev106.0/+esm
Full Name:
Andrew Grosser
Affiliation:
Sourcetable
Seems it should work : https://github.com/duckdb/duckdb-wasm/discussions/1634