I typically QUERY the DB for data, then I’ll do an UPDATE on that value, and add the value want to add.
I’ve been doing some research and it seems that it’s possible to do this without first running a QUERY, this would be optimum and save a lot of resources over time I imagine.
I think you can just use the query as in your link, eg: UPDATE myTable SET myField = MyField + 1 WHERE id = 1234
… using a custom query.
I"m not sure where the DB manager comes in, but I don’t think any custom work is needed (except the custom query).
There is no way you know what the value you are updating with the database updater is, without querying the table first. And you need to know it in order to add +1 to it.
As Tom explains, you can do this using a custom query like
UPDATE test_update
SET myval = myval + 1
WHERE id = :P1
Just set the :P1 value to whatever expression you need.