You are here

public function ExpressionBuilder::isNull in Plug 7

Parameters

string $field:

Return value

Comparison

File

lib/doctrine/collections/lib/Doctrine/Common/Collections/ExpressionBuilder.php, line 129

Class

ExpressionBuilder
Builder for Expressions in the {@link Selectable} interface.

Namespace

Doctrine\Common\Collections

Code

public function isNull($field) {
  return new Comparison($field, Comparison::EQ, new Value(null));
}