Is it possible to do the equivalent of -
update products
set quantity = quantity + 1
where id = 123
Thanks,
Tim
Is it possible to do the equivalent of -
update products
set quantity = quantity + 1
where id = 123
Thanks,
Tim
Yes, it is. Please see this chapter in the documentation:
https://backendless.com/docs/rest/data_inline_update_backendlessexpre.html
Cool. Thanks @mark-piller
Is there a way to add or modify a value if it is JSON?
UPDATE t
SET json_col = JSON_SET(json_col, '$.name', 'Knut')
WHERE id = 123
Tim
You are welcome. The only supported JSON “update” operations are the ones documented here:
https://backendless.com/docs/rest/data_updating_json_data.html
Regards,
Mark