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 for $apply to perform groupBy in the queries #485

Open
AsjadMahmood opened this issue Aug 24, 2022 · 3 comments
Open

Support for $apply to perform groupBy in the queries #485

AsjadMahmood opened this issue Aug 24, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request v4 odata v4

Comments

@AsjadMahmood
Copy link

Is your feature request related to a problem? Please describe.
I want to group some data based on a Gender, City etc and get count of the result

Describe the solution you'd like
A support for $apply through which we can apply groupBy with aggregate function like count,sum,avg etc.

Additional context
Similar to the aggregation extension that odata provides.
http://docs.oasis-open.org/odata/odata-data-aggregation-ext/v4.0/odata-data-aggregation-ext-v4.0.html

@AsjadMahmood AsjadMahmood added the enhancement New feature or request label Aug 24, 2022
@AsjadMahmood AsjadMahmood changed the title [FEATURE REQUEST] Support for $apply to perform groupBy in the queries Aug 24, 2022
@Soontao
Copy link
Owner

Soontao commented Aug 25, 2022

sure, let me check this

@Soontao Soontao added the v4 odata v4 label Aug 25, 2022
@Soontao
Copy link
Owner

Soontao commented Sep 4, 2022

plan in next major release @odata/[email protected]

@Soontao
Copy link
Owner

Soontao commented Nov 3, 2022

after @odata/[email protected], maybe you can try to use partial $apply feature.

see more https://github.com/Soontao/light-odata/blob/main/docs/API.SystemQueryOptions.md#transformations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v4 odata v4
Projects
None yet
Development

No branches or pull requests

2 participants