projects
/
scpubgit/Q-Branch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5958869
)
add -nest to hashpair expansion
Matt S Trout [Mon, 3 Sep 2018 21:50:36 +0000 (21:50 +0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
e639428
..
8a543e2
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-557,6
+557,9
@@
sub _expand_expr_hashpair {
return +{ $k => { $self->{cmp} => $v } };
}
}
+ if ($k eq '-nest') {
+ return $self->_expand_expr($v);
+ }
return { $k => $v };
}