Does SeaORM block/reduce the usage of prepared statements? #285
Unanswered
shanesveller
asked this question in
Q&A
Replies: 1 comment
-
Yes, at least by design, for all dynamic queries you are running, if the generated SQL is the same, it'd reuse the same prepared statement, because it's using the same sqlx function under the hood. |
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
-
When working with
sqlx
directly through macros likequery_as!
, my understanding is that this also winds up using prepared statements. Does SeaOrm/SeaQuery reduce or eliminate this benefit, or is it still behaving that way under the hood?Beta Was this translation helpful? Give feedback.
All reactions