Better Sandbox API

This commit is contained in:
nkaputnik
2022-07-28 14:54:08 +02:00
parent 9c2a7598f2
commit 44880c7745
3 changed files with 7 additions and 17 deletions

View File

@@ -8,6 +8,8 @@ async function run() {
let res = await SELECT.one`title`.from(`Books`).where(`ID=201`)
let { title } = res
let Author = req.data
//await srv.read('Books')
Author.modifiedBy = "Custom Event handler changed this!"
Author.placeOfDeath = " --- Somewhere over " + title + " --- create in Sandbox"
//await this.emit("createdAuthor", { Author })