Skip to content

Multi-statement queries work in DuckDB but not in duckdb-wasm? #1131

Answered by carlopi
holdenmatt asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @holdenmatt, I think single statement logic makes for easier to design/reason around API (problem I can see: what do you return if there are multiple select statement?), but I see this could be useful, idea noted down, thanks!

On the short term I would recommend to compose this from the existing pieces (even just splitting into pieces and in a await loop sending them). Splitting user-side is potentially non-trivial, but if you control the input it should be a simpler problem, but medium term it could be a 'nice to have'.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@holdenmatt
Comment options

Answer selected by holdenmatt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants