From 6829130db749903ca012e09bc0ba19aaca000449 Mon Sep 17 00:00:00 2001 From: Christian Weber Date: Fri, 18 May 2012 14:48:00 +0000 Subject: use IN instead of = if value is an array --- tests/it_dbi.t | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/it_dbi.t b/tests/it_dbi.t index ecd40e3..762e81f 100755 --- a/tests/it_dbi.t +++ b/tests/it_dbi.t @@ -73,6 +73,11 @@ is( 3, "select with empty NOT IN" ); +is( + $record->select(array('ID' => array(2,3))), + 2, + "select with implicit IN" +); it_dbi::createclass(array('table' => "it_dbi_test", 'forcecreate' => true)); -- cgit v1.2.3