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

Update cds-ql.md #711

Merged
merged 5 commits into from
Apr 2, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions advanced/odata.md
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,10 @@ GET /Orders(10)/books?

This request operates on the books of the order with ID 10. First it filters out the books from the year 2000 to an intermediate result set. The intermediate result set is then grouped by author name and the price is averaged. Finally, the result set is sorted by title and only the top 3 entries are retained.

::: warning
When using $apply with groupby and only a subset of keys is included, it can lead to the result not being uniquely sorted anymore.
renejeglinsky marked this conversation as resolved.
Show resolved Hide resolved
:::

### Transformations

| Transformation | Description | Node.js | Java |
Expand Down
Loading