duckdb-wasm-kit icon indicating copy to clipboard operation
duckdb-wasm-kit copied to clipboard

Support synchornous DuckDB instance to allow user-defined functions (UDFs)

Open alexkreidler opened this issue 1 year ago • 0 comments

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.

alexkreidler avatar Sep 26 '24 20:09 alexkreidler