From: Dagfinn Ilmari Mannsåker Date: Mon, 15 Dec 2014 20:29:57 +0000 (+0000) Subject: Reinstate _insert_returning method for DBIC compat X-Git-Tag: v1.81_01~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b17a3ece2649e58c60a0110f6208b4617690fe9b;p=dbsrgits%2FSQL-Abstract.git Reinstate _insert_returning method for DBIC compat --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 2683f2e..fa64bd1 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -227,6 +227,9 @@ sub insert { return wantarray ? ($sql, @bind) : $sql; } +# Used by DBIx::Class::SQLMaker->insert +sub _insert_returning { shift->_returning(@_) } + sub _returning { my ($self, $options) = @_;