DEV Community

Discussion on: What is SQL injection and how do I avoid it in Go?

Collapse
 
joncalhoun profile image
Jon Calhoun

This post was originally written in the context of Postgres, and as I understand it each driver defines its own set of argument placeholders (see github.com/golang/go/issues/3602), which is why this post only really covers $1.

I'll see if I can tweak the post to make it clearer that we are referring to Postgres here and that other drivers use different placeholders.