示例#1
0
 /**
  * Implements Drupal\Core\Database\Query\ConditionInterface::isNotNull().
  */
 public function isNotNull($field)
 {
     $this->condition->isNotNull($field);
     return $this;
 }
示例#2
0
 /**
  * Sets a condition in the HAVING clause that the specified field be NOT NULL.
  *
  * @param $field
  *   The name of the field to check.
  *
  * @return $this
  */
 public function havingIsNotNull($field)
 {
     $this->having->isNotNull($field);
     return $this;
 }