@@ -73,10 +73,10 @@ An expression can hold various elements, such as references, literals, function
7373``` cds
7474select from Books {
7575 42 as answer, // literal
76- title, // reference ("ref")
76+ title, // element reference
7777 price * quantity as totalPrice, // binary operator
7878 substring(title, 1, 3) as shortTitle, // function call
79- author.name as authorName, // ref with path expression
79+ author.name as authorName, // path expression
8080 chapters[number < 3] as earlyChapters, // ref with infix filter
8181 exists chapters as hasChapters, // exists
8282 count(chapters) as chapterCount, // aggregate function
@@ -288,7 +288,7 @@ They typically manifest as columns in database tables.
288288
289289### Simple Element Reference
290290
291- In its simplest form, a ` ref ` can be used to reference an element:
291+ The simplest form of a ` ref ` references a single element:
292292
293293::: code-group
294294``` js [CQL] {1}
@@ -312,7 +312,7 @@ In this example, we select the `title` element from the `Books` entity.
312312
313313### Path Navigation
314314
315- A path expression can be used to navigate to any element of the associations target:
315+ A path expression navigates to elements of an association's target:
316316
317317::: code-group
318318``` js [CQL]
@@ -420,7 +420,7 @@ To achieve this, use the [exists](#in-exists-predicates) predicate.
420420Path expressions can also be used after the ` exists ` keyword to check whether the set referenced by the path is empty.
421421This is especially useful for to-many relations.
422422
423- E.g. , to select all authors that have written ** at least** one book:
423+ For example , to select all authors that have written ** at least** one book:
424424
425425::: code-group
426426``` js [CQL]
@@ -455,8 +455,8 @@ This allows you to specify conditions on subsets of associated entities, enablin
455455
456456An infix in linguistics refers to a letter or group of letters that are added in the middle of a word to make a new word.
457457
458- If we apply this terminology to [ path- expressions] ( #ref ) , an infix filter condition is an expression
459- that is applied to a path- segment of a [ path- expression] ( #ref ) .
458+ If we apply this terminology to path expressions, an infix filter condition is an expression
459+ that is applied to a path segment of a path expression.
460460This allows you to filter the target of an association based on certain criteria.
461461
462462![ ] ( assets/cxl/infix-filter.drawio.svg?raw )
@@ -470,8 +470,7 @@ This allows you to filter the target of an association based on certain criteria
470470
471471
472472
473-
474- ### Applied to ` exists ` predicate { #exists-infix-filter }
473+ ### Applied to ` exists ` Predicate { #exists-infix-filter }
475474
476475In this example, we want to select all authors with books that have a certain stock amount.
477476To achieve this, we can apply an infix filter to the path segment ` books ` in the exists predicate:
@@ -527,7 +526,7 @@ WHERE exists (
527526:::
528527
529528
530- ### Applied to ` from ` clause
529+ ### Applied to ` from ` Clause
531530
532531Infix filters can also be applied to [ path expressions in the ` from ` clause] ( ./cql#path-expressions-in-from-clauses ) .
533532
@@ -620,7 +619,7 @@ In the `Authors` entity in the `Books.cds` file add a new element `cheapBooks`:
620619```
621620
622621Now we can use ` cheapBooks ` just like any other association.
623- E.g. to select the set of authors which have no cheap books:
622+ For example, to select the set of authors which have no cheap books:
624623
625624::: code-group
626625``` js [CQL]
0 commit comments