Subject: | Problem with $row->update() |
hello,
When i update a row, i've to force the column as "dirty".
example :
$row = $rs->find($id);
$row->myenumcolumn->is_bar; # true
$row->myenumcolumn->set_foo();
$row->update();
Doesn't work, DBIx::Class doesn't detect any changes, but this one works
:
$row->myenumcolumn->set_foo();
$row->make_column_dirty('myenumcolumn');
$row->update();
Thanks
Anthony.