On Mon, Mar 25, 2013 at 10:51:50PM -0700, Bill Moseley wrote:
Here's a rather contrived example:
my $artist = $schema-resultset( 'Artist' )-first;
eval {
my $guard = $schema-txn_scope_guard;
$artist-delete;
die 'rollback!';
1;
};
#$artist-in_storage(1);
On Mon, Mar 25, 2013 at 03:57:45PM +, David Cantrell wrote:
On Mon, Mar 25, 2013 at 11:58:31AM +1300, Paul Findlay wrote:
I tried to use delete_all, but there is no primary key in the table so it
failed. what else can i do?
There is a discussion in the manual about this: