DEV Community

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

Collapse
 
tgulacsi profile image
Tamás Gulácsi

Sorry, I can't find the word "placeholder" in the article. That's my concern, not postgres or whatever.

Thread Thread
 
joncalhoun profile image
Jon Calhoun • Edited

I just realized I didn't show an example of using placeholders in this article. My original draft did so not sure how it got dropped. That is why I mentioned $1 in the comment. I'll update this shortly with more context and thanks for pointing it out!

Edit: Done. Is that clearer now?