From: Matt S Trout Date: Mon, 9 Sep 2019 00:21:24 +0000 (+0000) Subject: present AS correctly X-Git-Tag: v2.000000~3^2~153 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7a5520f36acc6859ba89fae769e8841a937f6a2e;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, ); }