You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My question is how do I safely build queries where part of the query is user input.
The database/sql package wants us to use prepared satements and doesn't seem to offer any alternative.
I wasn't able to to find anything regarding sql santization/escaping in golang, besides "use sql.Query"
The text was updated successfully, but these errors were encountered:
As you write here https://github.com/segmentio/go-athena/blob/master/conn.go#L24 Athena doesn't support prepared statements, which is true.
My question is how do I safely build queries where part of the query is user input.
The database/sql package wants us to use prepared satements and doesn't seem to offer any alternative.
I wasn't able to to find anything regarding sql santization/escaping in golang, besides "use sql.Query"
The text was updated successfully, but these errors were encountered: