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

Support aggregation result as order field #428

Open
windslinux opened this issue Apr 2, 2023 · 0 comments
Open

Support aggregation result as order field #428

windslinux opened this issue Apr 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@windslinux
Copy link

windslinux commented Apr 2, 2023

What would you like to be added:
Sometimes we need aggregration result as order field, which is supported by sql, but not supported by graphjin.

Why is this needed:
An example as follows, it's not supported yet.
orderTest := `
query getPurchases {
purchases(
order_by: {
sum_quantity: asc
}) {
sum_quantity
customer_id
}
}

@windslinux windslinux added the enhancement New feature or request label Apr 2, 2023
@windslinux windslinux changed the title No support aggregation result as order field Support aggregation result as order field Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant