CODE:
let tableObject = await Table.findOne({name: 'onOrder'}).getRows(({user_key: user.id}));
console.log(tableObject[0].name);
for (let row of tableObject) {
await Table.findOne({name: 'onOrder'}).tryUpdateRow(({stage: 2}), row.id);
}
Watch video saltcorn, update rows in database using a trigger event online without registration, duration hours minute second in high quality. This video was added by user John Christensen 06 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 61 once and liked it 1 people.