Issue type:
[ ] question
[x] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ] cordova
[ ] mongodb
[ ] mssql
[x] mysql / mariadb
[ ] oracle
[ ] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo
TypeORM version:
[x] latest
[ ] @next
[ ] 0.x.x (or put your version here)
Steps to reproduce or a small repository showing the problem:
Hello.
This bug repeats for inherited entities.
When query builder joins other entities and call getMany, expressionMap.extraAppendedAndWhereCondition is not processed in createWhereExpression.
Query builder makes request for load entities body without limit (via IN :...{idsFromDistinctQuery})
I've prepared pull-request.