-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
In this commit 890ee16#diff-c58e144dadf00250381ed55e6ce83245cda76aca84131ad494fd4911932f656f. a custom total count query was introduced instead of TypeORMs qb.getCount();
this query being SELECT COUNT(*) FROM (..) returns number of all rows returned by query which would be like (m*n* k...) depending on how many rows were joined
the original implementation of TypeORMs getCount does SELECT COUNT(DISTINCT("table"."id")) AS "cnt" FROM (..)
which returns correct number of entities even when using JOINs
benyou1969, NikolayYakovenko, tanint, remi-guan, krzysztofsaja and 4 more
Metadata
Metadata
Assignees
Labels
No labels