nestjs-typeorm-paginate
nestjs-typeorm-paginate copied to clipboard
Use getCount() instead of raw count query
The select count from query counts total rows returned. That returns an incorrect total_items value.
Should fix https://github.com/nestjsx/nestjs-typeorm-paginate/issues/758. The regression was introduced https://github.com/nestjsx/nestjs-typeorm-paginate/pull/612