cds.events test

This commit is contained in:
Daniel
2021-06-04 11:34:52 +02:00
parent 624cea6343
commit 593228a51e
2 changed files with 28 additions and 0 deletions

6
test/events.cds Normal file
View File

@@ -0,0 +1,6 @@
service Sue {
@cds.persistence.skip
entity Foo { key ID:Integer; title:String; status:String(1); }
entity Bar { key ID:Integer; foo: Association to Foo }
event Foo.changed : projection on Foo { ID, status }
}