nestjs-typeorm-paginate icon indicating copy to clipboard operation
nestjs-typeorm-paginate copied to clipboard

Use getCount() instead of raw count query

Open leandro-gomez opened this issue 2 years ago • 0 comments

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

leandro-gomez avatar Aug 29 '23 16:08 leandro-gomez