in reply to Re: how to tell if ->insert succeeded in DBIx::Class?
in thread how to tell if ->insert succeeded in DBIx::Class?

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; }