volatiletech / sqlboiler

Generate a Go ORM tailored to your database schema.
BSD 3-Clause "New" or "Revised" License
6.73k stars 544 forks source link

support camel case in table names #557

Closed bugzpodder closed 5 years ago

bugzpodder commented 5 years ago

My db tables names are CamelCase, it seem to integrate weirdly with sqlboiler. The models are generated but there are a lot of duplicate methods caused by foreign key: For example, a UserId column would generate a UserId field and a UserId function.

Propose that a flag be added to support camel case table names.

bugzpodder commented 5 years ago

https://github.com/volatiletech/sqlboiler/pull/558

aarondl commented 5 years ago

Closing this in favor of #561