What is PQ good for? #844
novellizator
started this conversation in
General
Replies: 1 comment
-
Prepared Queries are formatted on the server side. And they can be additionally optimized for performance, i.e. SQL execution plan is cached. |
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
-
So I usually run stuff like this:
Where the query can either be a string or a PQ . What are the advantages of using PQ?
The disadvantages are clear, for example if the query in PQ contains
$1:list
I get a syntax error. Can I drop PQ() from the whole codebase without any disadvantage? What should I look out for?Beta Was this translation helpful? Give feedback.
All reactions