-
We are trying to use
Questions on two levels:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You should be able to call the coordinator I have not tested with the await coordinator().exec(`INSTALL json; LOAD json;`); We already perform similar calls internally in the node JS DuckDB server. I’m just unsure at the moment of what is supported (versus built-in) within DuckDB-WASM. For JSON loading, the built-in methods for bulk loading should almost certainly be preferred for any non-trivially sized datasets. |
Beta Was this translation helpful? Give feedback.
You should be able to call the coordinator
exec
method to run one or more queries that do not return table values.I have not tested with the
wasm
connector, but one example might be:We already perform similar calls internally in the node JS DuckDB server. I’m just unsure at the moment of what is supported (versus built-in) within DuckDB-WASM.
For JSON loading, the built-in methods for bulk loading should almost certainly be preferred for any non-trivially sized datasets.