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
Issue type:
[ ] question
[x] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova[ ]
mongodb[ ]
mssql[ ]
mysql/mariadb[x]
oracle[ ]
postgres[ ]
sqlite[ ]
sqljs[ ]
react-nativeTypeORM 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