Update for unit 6

This commit is contained in:
Elena Oresharova
2020-02-09 13:13:02 +01:00
parent 13480ad99e
commit edc2fdae91
95 changed files with 52 additions and 2635 deletions

View File

@@ -1,13 +1,6 @@
using { sap.capire.bookshop as my } from '../db/schema';
using { sap.capire.bookshop as db } from '../db/schema';
@path:'/browse'
service CatalogService {
@readonly entity Books as SELECT from my.Books {*,
author.name as author
} excluding { createdBy, modifiedBy };
@requires_: 'authenticated-user'
@insertonly entity Orders as projection on my.Orders;
}
entity Books as projection on db.Books;
}