this is always andor so bypass expr
Matt S Trout [Thu, 21 Mar 2019 05:20:10 +0000 (05:20 +0000)]
lib/SQL/Abstract.pm

index 96fb8ba..1f5342c 100644 (file)
@@ -790,9 +790,9 @@ sub _expand_expr_hashpair {
         ? shift(@{$v = [ @$v ]})
         : '-'.($self->{logic} || 'or')
     );
-    return $self->_expand_expr({
+    return $self->_expand_andor(
       $this_logic => [ map +{ $k => $_ }, @$v ]
-    });
+    );
   }
   if (my $literal = is_literal_value($v)) {
     unless (length $k) {