From: Matt S Trout Date: Tue, 18 Sep 2018 01:16:13 +0000 (+0000) Subject: select fields now handled by expand/render code X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=27592e2bf6458f03306709162fe24a7ee06a525b;p=scpubgit%2FQ-Branch.git select fields now handled by expand/render code --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 098f65e..52a41d0 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -468,8 +468,9 @@ sub select { sub _select_fields { my ($self, $fields) = @_; - return ref $fields eq 'ARRAY' ? join ', ', map { $self->_quote($_) } @$fields - : $fields; + return $self->_render_expr( + $self->_expand_maybe_list_expr($fields, undef, '-ident') + ); } #======================================================================