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 TOP (OFFSET) in GROUP / JSON operators #1330

Open
AlexKirkouski opened this issue Nov 11, 2024 · 0 comments
Open

Support TOP (OFFSET) in GROUP / JSON operators #1330

AlexKirkouski opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@AlexKirkouski
Copy link
Contributor

Example for GROUP (in MyCompany) :

smth = DATA INTEGER (Item);
first = DATA INTEGER (Category);
firstSmth(Category ct) = GROUP SUM smth(Item i) IF level(category(i), ct) ORDER DESC smth(i) TOP first(ct);

EXTEND FORM items
    PROPERTIES (c) first, firstSmth
    PROPERTIES (i) smth
;
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
Status: New
Development

No branches or pull requests

1 participant