#Erroneous Postgres query in Go, need help

6 messages · Page 1 of 1 (latest)

waxen hare
#

yeah, postgres does not allow table name from parameter.

#

using fmt.Sprintf

green grove
#

What specific database are you using? Different database have different format type

#

Idk if you can change the table name as $1?

green grove