Why does relations in nestjs-paginate perform a LEFT JOIN even if the related entities are not filtered/selected? #933
Unanswered
estevaodias
asked this question in
Q&A
Replies: 1 comment
-
|
If I understand correctly, the AFAIK, if you want to include the relationship only when it's filtered on, then you'll have to inspect the The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apparently, if you configure your pagination this way, a
LEFT JOINtotagsis made even when you request{{baseUrl}}/api/v2/people. Is it intentional to include a relation without specifyingfilter.tags.nameor something similar?Here is the output query:
Beta Was this translation helpful? Give feedback.
All reactions