@sap/cds-compiler
Compiles CDS models to CSN, EDMX and database schemas.
Facts
Where it sits
What it declares
Every artifact
- Type
- Build tool
- Origin
- By SAP
- Runtime
- Node.js
As a build tool
- Distributed through
- npm
Connections
Defining entities, their relations and the views services consume
Guide migrating the hana-shine-xsa demo from XS Advanced to CAP
Download
Install
npm add @sap/cds-compilerDerived from the package name. No recipe recorded; the README has the configuration.
README
quoted from @sap/cds-compiler@7.1.2, readGetting started
History
Fixes 1
Features 5, Fixes 3
Fixes 2
Fixes 2
Features 4, Fixes 3
Fixes 2
Fixes 1
Breaking 5, Features 6, Fixes 1
Fixes 2
Fixes 2
Fixes 1
Fixes 1
Fixes 1
Fixes 2
Features 7, Fixes 3
Features 4, Fixes 1
Fixes 1
Fixes 3
Fixes 1
Features 1, Changed 2, Fixes 1
Fixes 1
Features 3, Changed 1, Fixes 2
Fixes 1
Features 3, Changed 2, Fixes 1
Fixes 1
Removed, Fixes 2
Fixes 3
Features 3, Changed 1, Fixes 2
Fixes 1
Fixes 2
Fixes 1
Removed 1, Features 3, Changed 3, Fixes 3
Fixes 1
Features 2, Changed 5, Fixes 1
Features 1, Changed 1, Fixes 1
Fixes 2
Changed 1, Fixes 3
Fixes 2
Removed 4, Features 3, Changed 7, Fixes 1
Fixes 1
Fixes 2
Fixes 1
Fixes 2
Fixes 1
Fixes 1
Features 4, Changed 1, Fixes 1
Fixes 1
Features 6, Changed 2, Fixes 6
Fixes 1
Fixes 1
Features 2, Changed 1, Fixes 6
Features 2, Changed 1
Fixes 1
Features 3, Changed 1
Fixes 2
Fixes 1
Features 1, Changed 3, Fixes 4
Fixes 1
Removed 1, Features 4, Fixes 3
Features 2, Changed 2, Fixes 2
Fixes 1
Features 2, Changed 2, Fixes 4
Fixes 1
Fixes 3
Changed 2, Fixes 1
Removed 2, Changed 7, Fixes 1
Others providing
Compare all 6 on the Data modelling page →- cds-numberrange-plugincds-numberrange-pluginA CAP plugin that fills an annotated CDS element with the next number from a named range, optionally with prefix, suffix and padding, keeping the counter in a database entity it adds to the model.independent, capFills a CDS element from a database-backed number range
- com.sap.cds:cds-services-bomcom.sap.cds:cds-services-bomThe Maven bill of materials for CAP Java, pinning every com.sap.cds module in a release, from the API and core runtime to the Spring Boot starters and the CQN engine, to the same version.sap official, capMaven bill of materials pinning CAP Java module versions
- @sap/cds-common-content@sap/cds-common-contentISO-standard content for CAP's common definitions — countries, languages, currencies and timezones — so a project does not seed those tables itself.sap official, capISO content for CAP's countries, languages, currencies and timezones
- @sap/cds@sap/cdsThe CAP Node.js runtime, which compiles the CDS model, serves the services declared in it, answers generic requests before any handler runs, and loads every cds-plugin.sap official, capCAP Node.js runtime
- cap-user-infocap-user-infoResolves the createdBy and modifiedBy of a managed entity to a stored user record of email, given name and family name, and renders the two fields as links with a quickview.independent, capUser details and quickview links for createdBy and modifiedBy
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- Unmapped since the seed because the capability it answers did not exist. The compiler is what turns CDL into CSN; every other tool reads the model through it.
- First seen.
For your agent
- Ref
artifact:sap-cds-compiler- JSON
- /artifacts/sap-cds-compiler.json
- MCP
- Connecting an agent