Replies: 1 comment
-
Seems that #964 is the correct issue for this. |
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
-
Hi,
I'm trying to use the
query!
macros with anAnyPool
connection pool.The idea is to have a simple sqlite DB for dev testing, but be able to use any type of DB in the wild.
With
DATABASE_URL=sqlite://my_db.db
(correctly created) I can have ansqlx::query!("my query")
in the code that is correctly checked. However, I can't execute it with anAnyPool
object:Ideally, I'd like to be able to check that the query would work well on every engine, mysql/pg/sqlite, but even just working on sqlite is enough for me.
Is there a way to solve this error?
Beta Was this translation helpful? Give feedback.
All reactions