From: Matt S Trout Date: Mon, 9 Sep 2019 00:21:24 +0000 (+0000) Subject: present AS correctly X-Git-Tag: v1.90_01~132 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=737348ff251121cbd4e05df815c2ca60cd554804;p=dbsrgits%2FSQL-Abstract.git present AS correctly --- diff --git a/lib/SQL/Abstract/ExtraClauses.pm b/lib/SQL/Abstract/ExtraClauses.pm index c9b332a..b18d724 100644 --- a/lib/SQL/Abstract/ExtraClauses.pm +++ b/lib/SQL/Abstract/ExtraClauses.pm @@ -281,9 +281,8 @@ sub _render_as { my ($self, undef, $args) = @_; my ($thing, $alias) = @$args; return $self->join_query_parts( - ' ', + ' '.$self->format_keyword('as').' ', $thing, - $self->format_keyword('as'), $alias, ); }