We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cds.entities(<namespace>)
1 parent 90a4d6e commit 52d6797Copy full SHA for 52d6797
test/resources/bookshop/srv/cat-service.js
@@ -2,7 +2,7 @@ const cds = require('@sap/cds')
2
3
class CatalogService extends cds.ApplicationService { init(){
4
5
- const { Books } = this.entities ('sap.capire.bookshop')
+ const { Books } = cds.entities ('sap.capire.bookshop')
6
7
// Reduce stock of ordered books if available stock suffices
8
this.on ('submitOrder', async req => {
0 commit comments