Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions guides/databases/cdl-to-ddl.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ code --diff _out/c/sqlite.sql _out/c/h2.sql
> [!tip] CDS models are database-agnostic
> CDS models are designed to be database-agnostic, allowing you to switch between different databases with minimal changes. The `--dialect` option helps you see how your models translate to different database-specific DDLs. \
Comment thread
danjoa marked this conversation as resolved.
Outdated

Note that expressions in CDS models are _not_ treated in a database-agnostic way. In other words, they are not rewritten
into database-specific equivalents; instead, they are carried over one-to-one into the DDL.
You therefore need to ensure that any expression you write in your CDS model works across all databases you use.
See also [Database-Specific Models](#database-specific-models).
Comment thread
stewsk marked this conversation as resolved.
Outdated


### Dialects by `cds env` Profiles

Expand Down
Loading