projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a639287
)
simplify multop -keyword use
Matt S Trout [Sun, 29 Sep 2019 18:10:25 +0000 (18:10 +0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
3f62403
..
b279856
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-1521,7
+1521,7
@@
sub _render_op_multop {
return $self->render_aqt($parts[0]) if @parts == 1;
my $join = ($op eq ','
? ', '
- : { -keyword => ' '.join(' ', split '_', $op).' ' }
+ : { -keyword => " ${op} " }
);
return $self->join_query_parts($join, @parts);
}