sqlboiler icon indicating copy to clipboard operation
sqlboiler copied to clipboard

Feature: Support uppercase in names

Open netayg opened this issue 1 year ago • 1 comments

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.

netayg avatar Jul 05 '22 16:07 netayg

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.

stephenafamo avatar Jul 06 '22 21:07 stephenafamo