projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added cascade_copy relationship attribute
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Relationship
/
HasMany.pm
diff --git
a/lib/DBIx/Class/Relationship/HasMany.pm
b/lib/DBIx/Class/Relationship/HasMany.pm
index
716c292
..
1e61c74
100644
(file)
--- a/
lib/DBIx/Class/Relationship/HasMany.pm
+++ b/
lib/DBIx/Class/Relationship/HasMany.pm
@@
-35,6
+35,7
@@
sub has_many {
{ accessor => 'multi',
join_type => 'LEFT',
cascade_delete => 1,
+ cascade_copy => 1,
%{$attrs||{}} } );
}