sqlc
sqlc copied to clipboard
fix: escape constant names in queries
Constant names in queries were not escaped, leading to keywords being emitted as constant names in the generated output. This has been updated to be escaped, and any has been added as a reserved keyword as of Go 1.18.
This also addresses the lint raised by gopls on sqlc's generated Go files for modernizing the usage of an empty interface for the any type.