on 01-30-2023 3:54 PM
I am referring to URL:
https://cap.cloud.sap/docs/node.js/cds-reflect
Please get back to me on the following feedback:
There seems to be an error in the example...
Current Example:
const m = cds.linked (CQL`
type Bar : String(22);
entity Foo { bar: Bar }
entity Woo as projection on Foo;
`)
It must not be ‘CQL’, but ‘CDL’
const m = cds.linked (CDL`
type Bar : String(22);
entity Foo { bar: Bar }
entity Woo as projection on Foo;
`)
Thanks for reaching out Robin, and absolutely correct: It's CDL, of course. Btw. cds.linked now also accepts plain CDL strings, so cds.linked(`...`) works as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.