First push

This commit is contained in:
nkaputnik
2022-07-26 09:47:56 +02:00
parent 9617e576f0
commit 9c2a7598f2
16 changed files with 414 additions and 10438 deletions

View File

@@ -1,13 +1,16 @@
async function run() {
//debugger
//while (true) {}
//process.exit()
//1.substring()
let res = await cds.read(SELECT.one`title`.from(`Books`).where(`ID=201`))
// let res = await specialselect
let res = await SELECT.one`title`.from(`Books`).where(`ID=201`)
let { title } = res
const data = req.data
data.modifiedBy = "Custom Event handler read changed this!"
data.placeOfDeath = " --- Somewhere over " + title + " --- create in Sandbox"
return data
let Author = req.data
Author.modifiedBy = "Custom Event handler changed this!"
Author.placeOfDeath = " --- Somewhere over " + title + " --- create in Sandbox"
//await this.emit("createdAuthor", { Author })
return Author
}
output = run()
run()