Skip to content

Support aggregation result as order field #428

@windslinux

Description

@windslinux

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
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions