DBAL Querybuilder copy and invert column

48 Views Asked by At

With Doctrine DBAL Querybuilder, i can easily copy a column into another one: $qb->update('table')->set('col_1', 'col_2');

But as both columns are boolean(resp. tinyint), how can i just invert col_2 while copying it?

0

There are 0 best solutions below