3 ms·
It's not the main thrust of the article, but this snippet of code struck out at me: > err := conn.QueryRow(ctx, `SELECT ` + scanTeamFields + ` ...) Why are we
by timClicks 5y ago
It's not the main thrust of the article, but this snippet of code struck out at me:
> err := conn.QueryRow(ctx, `SELECT ` + scanTeamFields + ` ...)
Why are we, as an industry, still okay with constructing SQL queries with string concatenation?