From a04073131d35ba78af4a009c4699cc4895c96f7f Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 25 Aug 2009 17:53:16 +0000 Subject: Added array support to NI operator --- tests/it_dbi.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/it_dbi.t b/tests/it_dbi.t index faf243d..4404247 100755 --- a/tests/it_dbi.t +++ b/tests/it_dbi.t @@ -53,6 +53,11 @@ is( 2, "select with IN" ); +is( + $record->select(array('ID NI' => array(2,3))), + 2, + "select with NI" +); is( $record->select(array('ID NOT IN' => array(2,3))), 1, @@ -131,7 +136,7 @@ $record->update(array('-x' => 'RAND() * 10')); isnt( array($record->_key, $record->x, $record->foo), array(3, 17, "q'uux"), - "update" + "update with function" ); $rand = $record->x; -- cgit v1.2.3