Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/cap-js/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
renejeglinsky committed Jun 6, 2024
2 parents 69514a9 + b0d4da1 commit 599dbca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion guides/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ CREATE TABLE Books (
author_ID INTEGER, -- generated foreign key field
...,
PRIMARY KEY(ID),
CONSTRAINT Books_author // [!code focus]
CONSTRAINT Books_author -- constraint is explicitly named // [!code focus]
FOREIGN KEY(author_ID) -- link generated foreign key field author_ID ...
REFERENCES Authors(ID) -- ... with primary key field ID of table Authors
ON UPDATE RESTRICT
Expand Down
4 changes: 4 additions & 0 deletions java/working-with-cql/query-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1909,6 +1909,10 @@ CqnSelect subquery =
Select.from("Authors").where(CQL.exists(subquery));
```

> **Note:** Chaining `$outer` in nested subqueries is not supported.



## Parsing CQN

[CQL](../../cds/cql) queries can also be constructed from a [CQN](../../cds/cqn) string<sup>*</sup>:
Expand Down

0 comments on commit 599dbca

Please sign in to comment.