zio-sql
zio-sql copied to clipboard
Support Prepared Statements
Parameterized queries can offer higher performance.
We need to have a conversation about this. Prepared Statements can offer higher performance but as I understand it's not always the case (... research needed).
Some thoughts:
- Do we switch to Prepared Statements completely or do offer a choice?
- If we offer a choice, then is it a choice per statement or application-wide (then it comes down to choosing the renderer implementation at the layer level)
- Prepared statements could go via zio-jdbc (AFAIK it's using Prepared Statements)
I suppose more research is needed. What is the actual gain with Prepared Statements and what is the competition doing?