Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix incorrect rowCount value when using groupBy with fetchPage #1852
There was already a previous PR, linked above, but its author didn't seem interested in adding the required tests.
This is a simpler solution than the one in the previous PR, since it doesn't try to make a different type of query to get the total count, which would require additional processing. This just changes the column names that are passed to the existing