From: Matt S Trout Date: Mon, 1 Apr 2019 01:47:00 +0000 (+0000) Subject: test more complex in clause X-Git-Tag: v2.000000~3^2~301 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eda178179da47ebe82abb81daedb3baa0ec83e80;p=dbsrgits%2FSQL-Abstract.git test more complex in clause --- diff --git a/t/05in_between.t b/t/05in_between.t index 3163aa6..bb98f11 100644 --- a/t/05in_between.t +++ b/t/05in_between.t @@ -307,6 +307,18 @@ my @in_between_tests = ( bind => [ 2, 3, 4 ], test => 'Top level -between with useful LHS', }, + { + where => { + -in => [ + { -tuple => [ 'x', 'y' ] }, + { -tuple => [ 1, 2 ] }, + { -tuple => [ 3, 4 ] }, + ], + }, + stmt => ' WHERE (x, y) IN ((?, ?), (?, ?))', + bind => [ 1..4 ], + test => 'Complex IN', + }, ); for my $case (@in_between_tests) {