22.04.2023, 18:16
Hello.
Is it possible to get the ID of an inserted row
res, err = db:insert('scripting', {
params = '*/5 * * * *',
type = 'scheduled',
category = 'TEST',
name = 'TEST,
script = SCRIPT
})
log (res,err)
I would like the ID of the inserted row.
Thanks
Is it possible to get the ID of an inserted row
res, err = db:insert('scripting', {
params = '*/5 * * * *',
type = 'scheduled',
category = 'TEST',
name = 'TEST,
script = SCRIPT
})
log (res,err)
I would like the ID of the inserted row.
Thanks