16.05.2019, 05:55
If you want to edit an existing user then you need to pass user ID in data table:
You can get user IDs via a script:
Code:
data = {
id = 123,
name = 'test',
...
You can get user IDs via a script:
Code:
users = db:getall('SELECT id, login FROM users')
log(users)