Replies: 1 comment
-
No, it's not possible. but you can borrow the pool with https://docs.rs/sea-orm/1.0.0-rc.4/sea_orm/enum.DatabaseConnection.html#method.get_mysql_connection_pool |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
is it possible to feed a seaorm DatabaseConnection and DatabaseTransaction into the sqlx::query!() macro? It would be nice to be able to use both seaorm and sqlx::query! in one project without opening two connection pools and without passing two pools around
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions