Exemplo n.º 1
0
 /**
  * Creates an instance of binary expression node, representing the construction: subject != value
  *
  * @param mixed $subject logical subject
  * @param mixed $value value to match the subject
  *
  * SQL example:
  * @code
  * // "id" != 1
  * Expression::neq("id", 1);
  * @endcode
  * @return BinaryExpression
  */
 static function neq($subject, $value)
 {
     return new BinaryExpression($subject, BinaryLogicalOperator::notEquals(), $value);
 }