Open
Description
Describe the bug
When using .Prepared(true)
it replaces the interpolated arguments with ?
, even though Postgres is expecting $1
, $2
, etc.
Expected behavior
I expect it to use the correct parameter format.
Dialect:
- postgres
- mysql
- sqlite3
Additional context
- Why is interpolation the default?
- Why did goqu go to all the trouble to write an interpolation layer, when every database takes parameters? It seems much much safer to let Postgres do the interpolation, rather than just a library to do it.
Metadata
Assignees
Labels
No labels
Activity