You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: query modifiers on expand ref are propagated to subquery (#1049)
enable the following:
```js
cds.ql`SELECT name, books[order by price] { * } FROM Authors`
```
it is still possible to have query modifiers defined as sibling property
to `expand`:
```js
{
ref: ['author'],
expand: [
{
ref: ['name'],
},
],
limit: {
offset: {
val: 1,
},
rows: {
val: 1,
},
},
orderBy: [
{
ref: ['name'],
sort: 'asc',
},
],
}
```
--> If both are set, the modifiers in the `ref` of the expanded
association have precedence
0 commit comments