sqlboiler
sqlboiler copied to clipboard
Feature: Support uppercase in names
Names with uppercase letters should be saved with "
(double quotes) in TablenameColumns
struct.
This will allow using uppercase names in the DB.
Currently unsupported as far as I know.
I understand the need for this.
At the same time
- There are many other places where it is used and expected to be without quotes.
- Adding quotes (e.g with
%q
), is easier than removing them
Most of all, making this change would be backwards incompatible to we can only consider it at a major version. At best, maybe a flag could be used to control whether or not quotes should be added.