Order the query result by column.
The column to order by.
The order to use.
Whether to order nulls first.
The foreign table to order by.
supabase.from("countries").select(columns = Columns.list("id", "name")) \{
order(column = "id", order = Order.ASCENDING)
\}
val columns = Columns.raw("""
name,
cities (
name
)
""".trimIndent())
supabase.from("countries").select(
columns = columns
) \{
order(column = "id", order = Order.ASCENDING, referencedTable = "cities")
\}