nestjsx / nestjs-typeorm-paginate

:page_with_curl: Pagination response object function + types for typeorm + nestjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why I using left join limit not correct?

WayneChu0515 opened this issue · comments

Problem:

It's ok when I using nestjs-typeorm-paginate liberary and not left-join,
but itemCount is not correct when query have left-join.

How can I resolve it?

Oh It's sorry.

I watch this document https://orkhan.gitbook.io/typeorm/docs/zh_cn-38/select-query-builder.
It say limit / skip and offset / take different
And I solve it.