From: Matt S Trout Date: Mon, 3 Sep 2018 21:50:36 +0000 (+0000) Subject: add -nest to hashpair expansion X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5bad4a5dd3cbfea6d5b19111ec0b500d925f32b1;p=scpubgit%2FQ-Branch.git add -nest to hashpair expansion --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index e639428..8a543e2 100644 --- 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 }; }