Replies: 1 comment 3 replies
-
Yes it is possible. I'm assuming your
Are you sure about this? I think this is fully supported since v10.0.0. If it does not work for you, do you have a reproducible example to see what's the issue? |
Beta Was this translation helpful? Give feedback.
3 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to order by a related field (which is an array)'s first element's property?
For ex:
People "people" is base model
And has property
addresses []
where each address is an object with details likeNow i want to query all people with ordering like this:
GET / people?order=addresses->0->city
Note: I want to order people not addresses
I am not using latest stable as it doesnt support ordering by related fields but instead using
postgrest:v10.2.0.20230209
Beta Was this translation helpful? Give feedback.
All reactions