eZ\Publish\Core\Persistence\Doctrine\DoctrineExpression::isNull PHP 메소드

isNull() 공개 메소드

Example: $q = $dbHandler->createSelectQuery(); $q->select( '*' )->from( 'table' ) ->where( $q->expr->isNull( 'id' ) );
public isNull ( string $expression ) : string
$expression string the expression that should be compared to null
리턴 string logical expression
    public function isNull($expression)
    {
        return "{$expression} IS NULL";
    }