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

Explicit order_by support #32

Merged
merged 6 commits into from
Apr 10, 2024
Merged

Explicit order_by support #32

merged 6 commits into from
Apr 10, 2024

Conversation

dogatuncay
Copy link
Collaborator

@dogatuncay dogatuncay commented Apr 8, 2024

Adding the support for defining the explicit order for order_by

Keeping the same definition style with Ecto.
https://hexdocs.pm/ecto/Ecto.Query.html#order_by/3-keywords-examples

Example

order_by(q, [desc: :elapsed_time])

@dogatuncay dogatuncay marked this pull request as ready for review April 8, 2024 22:57
@tdtadeu tdtadeu merged commit b3f1627 into main Apr 10, 2024
1 check passed
@tdtadeu tdtadeu deleted the order-by-desceding-support branch April 10, 2024 21:51
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

Successfully merging this pull request may close these issues.

2 participants