You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: advanced/fiori.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -525,7 +525,7 @@ SELECT.from(Books.drafts) //returns all drafts of the Books entity
525
525
526
526
In addition to adding [restrictions on services, entities, and actions/functions](/guides/security/authorization#restrictions), there are use cases where you only want to hide certain parts of the UI for specific users. This is possible by using the respective UI annotations like `@UI.Hidden` or `@UI.CreateHidden` in conjunction with `$edmJson` pointing to a singleton.
527
527
528
-
First, you define the [singleton](../advanced/odata#singletons) in your service and annotate it with [`@cds.persistence.skip`](../guides/databases#cds-persistence-skip) so that no database artefact is created:
528
+
First, you define the [singleton](../advanced/odata#singletons) in your service and annotate it with [`@cds.persistence.skip`](../guides/databases/index#cds-persistence-skip) so that no database artefact is created:
529
529
530
530
```cds
531
531
@odata.singleton @cds.persistence.skip
@@ -861,4 +861,3 @@ extend AdminService.Genres with @(
Copy file name to clipboardExpand all lines: cds/cdl.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -858,7 +858,7 @@ Result result = service.run(Select.from("UsingView"), params);
858
858
859
859
### Runtime Views { #runtimeviews }
860
860
861
-
To add or update CDS views without redeploying the database schema, annotate them with [@cds.persistence.skip](../guides/databases#cds-persistence-skip). This advises the CDS compiler to skip generating database views for these CDS views. Instead, CAP resolves them *at runtime* on each request.
861
+
To add or update CDS views without redeploying the database schema, annotate them with [@cds.persistence.skip](../guides/databases/index#cds-persistence-skip). This advises the CDS compiler to skip generating database views for these CDS views. Instead, CAP resolves them *at runtime* on each request.
862
862
863
863
Runtime views must be simple [projections](#as-projection-on), not using *aggregations*, *join*, *union* or *subqueries* in the *from* clause, but may have a *where* condition if they are only used to read.
864
864
@@ -948,7 +948,7 @@ This example is equivalent to the [unmanaged example above](#unmanaged-associati
948
948
key element `address_ID` being added automatically upon activation to a SQL database.
949
949
The names of the automatically added foreign key elements cannot be changed.
950
950
951
-
> Note: For adding foreign key constraints on database level, see [Database Constraints.](../guides/databases#database-constraints).
951
+
> Note: For adding foreign key constraints on database level, see [Database Constraints.](../guides/databases/index#database-constraints).
952
952
953
953
If the target has a single primary key, a default value can be provided.
954
954
This default applies to the generated foreign key element `address_ID`:
@@ -1429,7 +1429,7 @@ Propagation of annotations can be stopped via value `null`, for example, `@anno:
1429
1429
:::
1430
1430
1431
1431
1432
-
### Expressions as Annotation Values {#expressions-as-annotation-values}
1432
+
### Expressions as Annotation Values
1433
1433
1434
1434
In order to use an expression as an annotation value, it must be enclosed in parentheses:
Copy file name to clipboardExpand all lines: cds/compiler/hdbcds-to-hdbtable.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ If the table doesn't contain much data, this process won't significantly impact
69
69
70
70
## Annotations
71
71
72
-
Annotations [`@sql.append/prepend`](../../guides/databases#sql-prepend-append) are used to generate native SQL clauses to the _.hdbtable_ files, or add native SAP HANA CDS clauses to the _.hdbcds_ files.
72
+
Annotations [`@sql.append/prepend`](../../guides/databases/index#sql-prepend-append) are used to generate native SQL clauses to the _.hdbtable_ files, or add native SAP HANA CDS clauses to the _.hdbcds_ files.
73
73
74
74
If you have used these annotations in your model, a simple switchover from `hdbcds` to `hdbtable` is unlikely as such an annotation written for `hdbcds` in general is not valid for `hdbtable`. You'll have to adapt your model before the migration.
Copy file name to clipboardExpand all lines: cds/compiler/v2.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -705,7 +705,7 @@ Select.from("bookshop.Books", b -> b.matching(id).to("texts"));
705
705
706
706
#### CSV Files
707
707
708
-
CAP Java allows to [provide initial data](../../guides/databases#providing-initial-data) to your application using CSV files. The name of the CSV file should adhere to the pattern `<namespace>-<entity>.csv` (`<qualified-entity-name>.csv`). Renaming the CSV file is recommended.
708
+
CAP Java allows to [provide initial data](../../guides/databases/index#providing-initial-data) to your application using CSV files. The name of the CSV file should adhere to the pattern `<namespace>-<entity>.csv` (`<qualified-entity-name>.csv`). Renaming the CSV file is recommended.
Visit the [***Cookbook***](../guides/) for deep dive guides on these topics and more. Also see the reference documentations for [***CDS***](../cds/), as well as [***Node.js***](../node.js/) and [***Java***](../java/) Service SDKs and runtimes.
0 commit comments