Open zadokdaniel opened 2 years ago
Maybe instead of heaving an Enum of Tables create objects with all the possible keys for cases of duplicate column names on joins and selects.
some code that does that: https://gist.github.com/zadokdaniel/ea4dd31e13957c717ffb26e238f25173
look at the comments to see the results.
If done probably would be preferred to find another way to state the table name by property (or symbol) unfortunately using typescript .toString() must explicitly be called
Maybe instead of heaving an Enum of Tables create objects with all the possible keys for cases of duplicate column names on joins and selects.
some code that does that: https://gist.github.com/zadokdaniel/ea4dd31e13957c717ffb26e238f25173
look at the comments to see the results.
If done probably would be preferred to find another way to state the table name by property (or symbol) unfortunately using typescript .toString() must explicitly be called