Merge branch 'master' into adding-suppliers
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using { AdminService } from '../../db';
|
||||
using { AdminService } from '../../db/schema';
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Add Author.age and .lifetime with a DB-specific function
|
||||
//
|
||||
|
||||
using { AdminService } from '..';
|
||||
using { AdminService } from '../schema';
|
||||
|
||||
extend projection AdminService.Authors with {
|
||||
YEARS_BETWEEN(dateOfBirth, dateOfDeath) as age: Integer,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Add Author.age and .lifetime with a DB-specific function
|
||||
//
|
||||
|
||||
using { AdminService } from '..';
|
||||
using { AdminService } from '../schema';
|
||||
|
||||
extend projection AdminService.Authors with {
|
||||
strftime('%Y',dateOfDeath)-strftime('%Y',dateOfBirth) as age: Integer,
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"@capire/orders": "*",
|
||||
"@capire/reviews": "*",
|
||||
"@capire/suppliers": "*",
|
||||
"@sap/cds": "^4",
|
||||
"express": "^4.17.1",
|
||||
"@sap/cds": ">=4",
|
||||
"express": "^4",
|
||||
"passport": "^0.4.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user