Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to sort with NULLS LAST clause? #83

Open
svanschooten opened this issue Oct 3, 2022 · 1 comment
Open

How to sort with NULLS LAST clause? #83

svanschooten opened this issue Oct 3, 2022 · 1 comment

Comments

@svanschooten
Copy link

As we have some data in nested JSONB columns, we use the additionalQuery to add select and ordering for these columns, we need to do this manually is because we need put null values last, which (afaik) is not possible with the JsonApiParams. However, this introduces certain complications, such as also needing to inject your own select clauses for the columns we want to sort on.

Is there a way we can define to sort the nulls last?

@alechirsch
Copy link
Collaborator

I would happily accept a PR that address this request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants