projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Views are automatically excluded from using insert_returning.
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
ResultSource
/
View.pm
diff --git
a/lib/DBIx/Class/ResultSource/View.pm
b/lib/DBIx/Class/ResultSource/View.pm
index
9c0d51a
..
be29bdb
100644
(file)
--- a/
lib/DBIx/Class/ResultSource/View.pm
+++ b/
lib/DBIx/Class/ResultSource/View.pm
@@
-164,6
+164,7
@@
The constructor.
sub new {
my ( $self, @args ) = @_;
my $new = $self->next::method(@args);
+ $new->{resultset_attributes}->{storage}->{use_insert_returning} = 0;
$new->{deploy_depends_on} =
{ map { $_ => 1 }
@{ $new->{deploy_depends_on} || [] } }