clean up fields handling
Matt S Trout [Wed, 10 Apr 2019 01:50:31 +0000 (01:50 +0000)]
lib/SQL/Abstract/Clauses.pm

index 6f311ae..025e5d4 100644 (file)
@@ -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;
 }