projects
/
scpubgit/Q-Branch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
2143604
)
{ x => { -and => ... } } converted to op
Matt S Trout [Mon, 17 Sep 2018 00:07:25 +0000 (
00:07
+0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
b0b1af2
..
cc89eb6
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-775,7
+775,8
@@
sub _expand_expr_hashpair {
}
if ($vk =~ /^(and|or)$/) {
if (ref($vv) eq 'HASH') {
- return +{ "-${vk}" => [
+ return +{ -op => [
+ $vk,
map $self->_expand_expr_hashpair($k, { $_ => $vv->{$_} }),
sort keys %$vv
] };