-
-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Description
Is there any way to approach this:
$queryBuilder->table('table')->where('id', '=', 1)->update([
'number' => 'number' + 1
]);
So query would look like this:
UPDATE table SET number = number + 1 WHERE id = 1;
Without having to use raw queries?
PD: I know doing 'number' + 1
is wrong, it is just a way to explain myself.
Metadata
Metadata
Assignees
Labels
No labels