Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Support for underscored column names #807

Open
KivApple opened this issue Apr 9, 2020 · 0 comments
Open

Support for underscored column names #807

KivApple opened this issue Apr 9, 2020 · 0 comments

Comments

@KivApple
Copy link

KivApple commented Apr 9, 2020

Is there any plans to support underscored column names? Because in SQL column names are case-insensitive and there is more useful to name them in snake_case instead of camelCase. So all major ORMs support to use different naming strategy. You can define columns in model class as it is preferred in your language (Dart and many other languages use camelCase in class fields names), but them will be stored in the database in snake_case. An alternative to such option may be ability to override automatic generated column names (via @column annotation or something like this).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant