-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Description
Issue type:
[ ] question
[x] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ] cordova
[ ] mongodb
[ ] mssql
[ ] mysql / mariadb
[x] oracle
[ ] postgres
[ ] sqlite
[ ] sqljs
[ ] react-native
TypeORM version:
[ ] latest
[x] @next
[ ] 0.x.x (or put your version here)
Steps to reproduce or a small repository showing the problem:
The buildColumnAlias function in SelectQueryBuilder tends to return duplicate column alias names. If the columnAliasName is more than 29 chars long you get the table alias and 2 chars from the column name:
e.g. MyLongTableOrClassName_MyLongColumnName -> MyLongTableOrClassName_MY
Iruora and egervari