This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Repository navigation
Replies: 0 comments
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.
So far, I've tried using the "$sort" parameter on a query, targeting the dot separated name of the nested table, like 'child.id.'
With an $eager relation that doesn't work as the the child table is queried separately and 'child.id' isn't present yet.
I tried $joinEager too, but that aliased the order by clause and the resulting error said that the field didn't exist.
Am I better off writing a modifier that sorts how I'd like and calling that via the $modify param? Or am I missing an easy way to do this?
All reactions