just wanted to ask, how do i update a value in my mysql DB + 1 using bookshelf.js?
as example: Update table set value = value +1 where x = y ... ;
Update table set value = value +1 where x = y ... ;
solved the problem: await table.query().where('id', id).increment('value', value)
await table.query().where('id', id).increment('value', value)