Improve order example #29938
Unanswered
jonathanstanley
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The javascript api allows ordering the rows on a referenced table:
supabase/apps/docs/spec/supabase_js_v2.yml
Line 6108 in 1e9bbb2
however the example is a little confusing because both the selected table and referenced table have a column called
name
supabase/apps/docs/spec/supabase_js_v2.yml
Lines 6100 to 6108 in 1e9bbb2
it took me a bit to discover the note buried at the bottom:
supabase/apps/docs/spec/supabase_js_v2.yml
Lines 6157 to 6159 in 1e9bbb2
From there, I don't think it is clear for the reader what
referencedTable
does.towns:cities(name)
?I think it would be very good if the
cities(name)
was replaced with something likecities(id)
so the reader knows theorder("name")
is referring toBeta Was this translation helpful? Give feedback.
All reactions