Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Conversation

bmartel
Copy link
Contributor

@bmartel bmartel commented Mar 8, 2021

Order by multiple columns

Adds support to order by more than a single column in both embedded table and top level columns as per postgrest https://postgrest.org/en/v7.0.0/api.html?highlight=order#ordering.

What is the current behavior?

Overwrites the single order param only allowing the latest in the call chain to resolve.

What is the new behavior?

Appends order clauses comma delimited for the query instance.

@soedirgo
Copy link
Member

soedirgo commented Mar 9, 2021

Superb - thanks again @bmartel!

@soedirgo soedirgo merged commit e5f5dfa into supabase:master Mar 9, 2021
@github-actions
Copy link

github-actions bot commented Mar 9, 2021

🎉 This PR is included in version 0.26.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants