in reply to DBIx::Class foreign key update woes
In the meantime you can do either:
or:my $newstatus = $schema->resultset('Status')->find(2); $check->status($newstatus);
It's not as pretty.. but it works.$check->update({status => 2}); $check->discard_changes();
C.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: DBIx::Class foreign key update woes
by philcrow (Priest) on Jul 18, 2006 at 21:07 UTC |