From: Matt S Trout Date: Wed, 10 Apr 2019 01:50:31 +0000 (+0000) Subject: clean up fields handling X-Git-Tag: v2.000000~3^2~258 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e38e5fb84423dc70d87ef600f62615294a1de52;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; }