diff options
author | Christian Schneider | 2009-08-25 17:53:16 +0000 |
---|---|---|
committer | Christian Schneider | 2009-08-25 17:53:16 +0000 |
commit | a04073131d35ba78af4a009c4699cc4895c96f7f (patch) | |
tree | 3b7237165e8f067042f8f3b3f38253a59ae1d834 /tests | |
parent | 21aae88fc189bc2672ef563f6ed7ae42a3b8634e (diff) | |
download | itools-a04073131d35ba78af4a009c4699cc4895c96f7f.tar.gz itools-a04073131d35ba78af4a009c4699cc4895c96f7f.tar.bz2 itools-a04073131d35ba78af4a009c4699cc4895c96f7f.zip |
Added array support to NI operator
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/it_dbi.t | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ -54,6 +54,11 @@ is( "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, "select with NOT IN" @@ -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; |