Skip to content

Commit 62ece1d

Browse files
committed
chore: move function section up
1 parent 586422e commit 62ece1d

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

cds/cxl.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,17 @@ E.g. in the expression `price * quantity`, the `*` operator is a binary operator
331331
that multiplies the two factors `price` and `quantity`.
332332
:::
333333

334+
## function { #function }
335+
336+
337+
<div class="diagram" >
338+
<Badge class="badge-inline" type="tip" text="💡 clickable diagram" />
339+
<div class="diagram" v-html="functionDef"></div>
340+
</div>
341+
342+
343+
CAP supports a set of [portable functions](../guides/databases/cql-to-sql.md#portable-functions) that can be used in all expressions. Those functions are passed through to the underlying database, allowing you to leverage the same functions for different databases, which greatly enhances portability.
344+
334345
## ref (path expression) { #ref }
335346

336347
A `ref` (short for reference) is used to refer to an element within the model.
@@ -797,18 +808,6 @@ ON
797808
The path expression `author[ age < 40 ].name`
798809
navigates along the `author` association of the `Books` entity only if the author's age is below 40.
799810

800-
801-
## function { #function }
802-
803-
804-
<div class="diagram" >
805-
<Badge class="badge-inline" type="tip" text="💡 clickable diagram" />
806-
<div class="diagram" v-html="functionDef"></div>
807-
</div>
808-
809-
810-
CAP supports a set of [portable functions](../guides/databases/cql-to-sql.md#portable-functions) that can be used in all expressions. Those functions are passed through to the underlying database, allowing you to leverage the same functions for different databases, which greatly enhances portability.
811-
812811
<style>
813812

814813
.badge-inline {

0 commit comments

Comments
 (0)