1
0
Fork 0
SVEN/webseite/sys/sources/envms-fluentpdo/tests/06-where-column-null.phpt

16 lines
277 B
PHP

--TEST--
where('column', null)
--FILE--
<?php
include_once dirname(__FILE__) . "/connect.inc.php";
/* @var Envms\FluentPDO\Query */
$query = $fluent->from('user')->where('type', null);
echo $query->getQuery() . "\n";
?>
--EXPECTF--
SELECT user.*
FROM user
WHERE type is NULL