From d17283c86a27d73899fc6e560befc1b20113287d Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Mon, 16 Dec 2024 16:01:39 +0100 Subject: [PATCH 01/17] Add missing anchors --- cds/cqn.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/cds/cqn.md b/cds/cqn.md index 2abdab96d..f392c84b7 100644 --- a/cds/cqn.md +++ b/cds/cqn.md @@ -116,6 +116,10 @@ type source = ref &as | SELECT | { {#as} +{#expand} + +{#name} + Property `columns` specifies the columns to be selected, projected, or aggregated, and is specified as an array of `column`s: ```tsx @@ -159,6 +163,9 @@ class SELECT { SELECT: { ### `.orderBy` +{#order} + +{#ordering-terms} ```tsx class SELECT { SELECT: { //... @@ -247,6 +254,8 @@ let q = {INSERT:{ into: { ref: ['Authors'] }, entries: [ ### `.values` +{#scalar} + Allows input data to be specified as an single array of values, as in SQL. ```js @@ -352,6 +361,10 @@ class DELETE { DELETE: { {#param} +{#xo} + +{#infix} + Following are the axiomatic building blocks used in CQN expressions: ```tsx From a6d9415077d0d1b2a64a9b81c099176517774c47 Mon Sep 17 00:00:00 2001 From: Steffen Waldmann Date: Mon, 16 Dec 2024 16:12:18 +0100 Subject: [PATCH 02/17] Feedback button for Matomo (#1524) Co-authored-by: Christian Georgi Co-authored-by: Christian Georgi --- .vitepress/theme/Layout.vue | 7 + .vitepress/theme/components/ShortcutsList.vue | 4 +- .../theme/components/WasThisHelpful.vue | 216 ++++++++++++++++++ 3 files changed, 226 insertions(+), 1 deletion(-) create mode 100644 .vitepress/theme/components/WasThisHelpful.vue diff --git a/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue index 6b502bd16..3c4f1bcf7 100644 --- a/.vitepress/theme/Layout.vue +++ b/.vitepress/theme/Layout.vue @@ -6,12 +6,16 @@ import ImplVariants from './components/implvariants/ImplVariants.vue' import NavScreenMenuItem from './components/implvariants/NavScreenMenuItem.vue' import Ribbon from './components/Ribbon.vue' import ScrollToTop from './components/ScrollToTopSimple.vue' +import WasThisHelpful from './components/WasThisHelpful.vue' +import { useRoute } from 'vitepress' const isPreview = !!import.meta.env.VITE_CAPIRE_PREVIEW const { Layout } = DefaultTheme const { frontmatter } = useData() +const route = useRoute() +