ES Modules

This commit is contained in:
Daniel Hutzel
2023-11-18 11:13:58 +01:00
parent 789faeb7c4
commit dec9ec2aba
8 changed files with 52 additions and 27 deletions

View File

@@ -6,7 +6,7 @@
// NOTE: We use cds.on('served') to delay the UPSERTs after the db init
// to run after all INSERTs from .csv files happened.
module.exports = cds.on('served', ()=> cds.run(
cds.on('served', ()=> cds.run(
UPSERT.into ('sap.common.Currencies') .columns (
[ 'code', 'symbol', 'name' ]
) .rows (