Order the query result by column
.
The column to order by
Whether the rows should be ordered in descending order or not.
Foreign table name whose results are to be ordered.
Order by showing nulls first
response = (
supabase.table("countries")
.select("*")
.order("name", desc=True)
.execute()
)
response = (
supabase.table("countries")
.select("name, cities(name)")
.order("name", desc=True, foreign_table="cities")
.execute()
)