How to execute multiple queries at the same time #1768
Unanswered
fritshoogland-yugabyte
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to build a tool to execute SQL against YugabyteDB, a PostgreSQL compatible database.
So this is about sqlx and postgres.
This works great for sequentially executed SQL.
But now I want to run one or more different SQL statements at the same time, preferably with a controlled limit on the concurrent amount. I cannot get this to work. This is what I have got so far:
this returns the following error:
How can I make rust execute multiple sqlx queries at the same time?
Beta Was this translation helpful? Give feedback.
All reactions