For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Order the query result by column.
nullsFirst defaults to nil, so the database picks where NULL values go: last on an ascending sort, first on a descending sort. Pass true or false to choose.try await supabase
.from("instruments")
.select("id, name")
.order("id", ascending: false)
.execute()
try await supabase
.from("orchestral_sections")
.select(
"""
name,
instruments (
name
)
"""
)
.order("name", ascending: false, referencedTable: "instruments")
.execute()
try await supabase
.from("instruments")
.select(
"""
name,
section:orchestral_sections (
name
)
"""
)
.order("section(name)", ascending: true)
.execute()