Is it possible to run multiple queries at the same time? #1963
Answered
by
carlopi
Gumichocopengin8
asked this question in
Q&A
-
When there are multiple queries in a query function. const result = await conn?.query('SELECT * FROM data_table; SHOW tables;'); |
Beta Was this translation helpful? Give feedback.
Answered by
carlopi
Feb 23, 2025
Replies: 1 comment 1 reply
-
There is a way to get both results -> no, at the moment this needs to be split in two statements, like:
Allowed -> yes This is a bit quirky, I am looking into improving the API, might add another interface to execute multiple statement while getting all intermediate results. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Gumichocopengin8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a way to get both results -> no, at the moment this needs to be split in two statements, like:
Allowed -> yes
This is a bit quirky, I am looking into improving the API, might add another interface to execute multiple statement while getting all intermediate results.