From 3776ae27cf7f006608e9f8173cdbea537340f990 Mon Sep 17 00:00:00 2001 From: Andre Meyering Date: Mon, 3 Jun 2024 15:37:46 +0200 Subject: [PATCH 1/3] fix(databases): Fix code comment in SQL snippet (#972) SQL uses `--` for comments. Use it for the code-focus comment as well. It didn't work on the rendered page anyway. --- guides/databases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/databases.md b/guides/databases.md index 71fcc20b8..1248fb389 100644 --- a/guides/databases.md +++ b/guides/databases.md @@ -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 -- [!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 From abd42dda39c88a13ce75d1dbc45288991e11c1c2 Mon Sep 17 00:00:00 2001 From: Andre Meyering Date: Wed, 5 Jun 2024 08:31:42 +0200 Subject: [PATCH 2/3] fix(databases): Really fix code comment in SQL snippet (#975) * fix(databases): Really fix code comment in SQL snippet Follow up to #972. * Update guides/databases.md --- guides/databases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/databases.md b/guides/databases.md index 1248fb389..b50fe3007 100644 --- a/guides/databases.md +++ b/guides/databases.md @@ -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 From b0d4da1674d1acecb85557c0dfc982f8ed21f915 Mon Sep 17 00:00:00 2001 From: Matthias Schur <107557548+MattSchur@users.noreply.github.com> Date: Wed, 5 Jun 2024 09:19:52 +0200 Subject: [PATCH 3/3] Java: Chaining `$outer` in nested subqueries is not supported (#938) --- java/working-with-cql/query-api.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/working-with-cql/query-api.md b/java/working-with-cql/query-api.md index 6d27292f9..d157366bb 100644 --- a/java/working-with-cql/query-api.md +++ b/java/working-with-cql/query-api.md @@ -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*: