projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
cd93bc2
)
present AS correctly
Matt S Trout [Mon, 9 Sep 2019 00:21:24 +0000 (
00:21
+0000)]
lib/SQL/Abstract/ExtraClauses.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract/ExtraClauses.pm
b/lib/SQL/Abstract/ExtraClauses.pm
index
c9b332a
..
b18d724
100644
(file)
--- 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,
);
}