From: Matt S Trout Date: Wed, 10 Apr 2019 01:50:31 +0000 (+0000) Subject: clean up fields handling X-Git-Tag: v1.90_01~237 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=50874e276818e5ef98ba0e2df7a1df20d9ea94e5;p=dbsrgits%2FSQL-Abstract.git clean up fields handling --- diff --git a/lib/SQL/Abstract/Clauses.pm b/lib/SQL/Abstract/Clauses.pm index 6f311ae..025e5d4 100644 --- a/lib/SQL/Abstract/Clauses.pm +++ b/lib/SQL/Abstract/Clauses.pm @@ -41,7 +41,7 @@ sub register_defaults { shift->_expand_maybe_list_expr(@_, -ident); }; $self->{render_clause}{'insert.fields'} = sub { - return $_[0]->render_aqt({ -row => [ $_[1] ] }); + return $_[0]->render_aqt($_[1]); }; return $self; }