-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to find the number of records in a relation? #916
Comments
Please add a support to sort by relation count |
You can achieve this using |
@ppetzold What about ordering with the count of relation? |
I'm trying to use pagination to display product cards.
However I have a connection Typeorm as: Products <-> accounting
ProductsEntity:
I display my product cards, but I can’t do it to show only those records in which there is NO accounting! or vice versa there is only ACCOUNTING
How can I do this correctly?
My code:
The text was updated successfully, but these errors were encountered: