wiki.techinc.nl/tests/phpunit/includes/db
Antoine Musso ba564eeb7c Support abstraction for 'NOT IN' SQL structure
Following a live discussion with Catrope.

When using Database::makeList() in LIST_AND or LIST_OR modes, you can now
suffix the field name with an exclamation mark.  It will negate the logical
boolean.

Example:
  $db->makeList( array( 'field!' => array( 1,2,3 ) );
  outputs:
    'field' NOT IN ('1', '2', '3' );

 $db->makeList( array( 'foo!' => array( 777 ) ) );
 outputs:
   'foo' =! 777

(note: tests not ran, please run them and ammend them)
2011-05-13 15:39:45 +00:00
..
sqlite svn:eol-style native 2011-05-11 19:13:58 +00:00
DatabaseSqliteTest.php Column checks for updater 2011-05-09 18:49:56 +00:00
DatabaseTest.php Support abstraction for 'NOT IN' SQL structure 2011-05-13 15:39:45 +00:00