I don't think that checks the database at all. "in_storage tells us whether the Row object is in the database or not. This is set when fetching data, and when we insert a new row."
Update: Confirmed:
sub in_storage { my ($self, $val) = @_; $self->{_in_storage} = $val if @_ > 1; return $self->{_in_storage} ? 1 : 0; }
In reply to Re^2: how to tell if ->insert succeeded in DBIx::Class?
by ikegami
in thread how to tell if ->insert succeeded in DBIx::Class?
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |