Open pdeva opened 1 year ago
I am also facing this issue, for postgres placeholder should be like '$1' in prepared statement. but it is looking like it is generating '?'
@doug-martin
I am able to solve this problem. I haven't import _ "github.com/doug-martin/goqu/v9/dialect/postgres" this. which internally registers Postgres Dialect
Describe the bug This code works perfectly fine:
However, if i add
.Prepared(true)
to it, it results in an error:error:
To Reproduce
Expected behavior Should work without errors
Dialect:
Additional context Add any other context about the problem here.