Improve SQL script tagging/annotation
Opened this issue · 0 comments
SharkFourSix commented
Is it possible to instead of passing the "--sql" annotation to the actual SQL query to use a language specific comment instead?
For instance, in Go, instead of
sql := `--sql
SELECT * FROM users;
Do
sql := /* sql */ `SELECT * FROM users;`
Less error prone and keeps queries nice and tidy. Don't want to be polluting queries with comments