SVEN/webseite/sys/sources/envms-fluentpdo/tests/60-where-not-array.phpt
2020-07-04 12:07:02 +02:00

16 lines
300 B
PHP

--TEST--
where('NOT col', array)
--FILE--
<?php
include_once dirname(__FILE__) . "/connect.inc.php";
/* @var Envms\FluentPDO\Query */
$query = $fluent->from('article')->where('NOT id', array(1,2));
echo $query->getQuery() . "\n";
?>
--EXPECTF--
SELECT article.*
FROM article
WHERE NOT id IN (1, 2)