Open megabild opened 6 years ago
It would be nice to tell sqrl to escape column names for example "status" is a reserved symbol in mysql.
users := sq.Select("status").From("users").Join("emails USING (email_id)") fmt.Println(users.ToSql())
output is:
SELECT status FROM users JOIN emails USING (email_id) [] <nil>
should be:
SELECT `status` FROM users JOIN emails USING (email_id) [] <nil>
It would be nice to tell sqrl to escape column names for example "status" is a reserved symbol in mysql.
output is:
should be: