duckdb-wasm-kit
duckdb-wasm-kit copied to clipboard
Support synchornous DuckDB instance to allow user-defined functions (UDFs)
Awesome library, thank you!
Currently the synchronous DuckDB bindings allow creating UDFs, internal code.
There are some reasons why UDFs are not supported with the async bindings: https://github.com/duckdb/duckdb-wasm/issues/159#issue-951939362
It would be nice to have an option for the useDuckDb() hook to choose the sync version of duckdb. Hopefully none of the other helper functions like insertFile depend specifically on the async version.