apioo/psx-sql

Generate enum for columns

Opened this issue · 0 comments

Currently all columns are provided as constant at the table class. We should generate a dedicated "Column" enum which contains all columns names. This has also the great advantage that we can type-hint a column name. If we have a table i.e. App, we can generate beside the AppRow and AppTable class a new AppColumn enum containing all columns names.