[Bast-commits] r8325 - DBIx-Class/0.08/trunk/lib/DBIx/Class
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Fri Jan 15 16:13:28 GMT 2010
Author: ribasushi
Date: 2010-01-15 16:13:28 +0000 (Fri, 15 Jan 2010)
New Revision: 8325
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm
Log:
RT52674
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm 2010-01-15 16:07:39 UTC (rev 8324)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Row.pm 2010-01-15 16:13:28 UTC (rev 8325)
@@ -527,7 +527,9 @@
this behaviour off, pass C<< cascade_delete => 0 >> in the C<$attr>
hashref of the relationship, see L<DBIx::Class::Relationship>. Any
database-level cascade or restrict will take precedence over a
-DBIx-Class-based cascading delete.
+DBIx-Class-based cascading delete, since DBIx-Class B<deletes the
+main row first> and only then attempts to delete any remaining related
+rows.
If you delete an object within a txn_do() (see L<DBIx::Class::Storage/txn_do>)
and the transaction subsequently fails, the row object will remain marked as
More information about the Bast-commits
mailing list