havingConditions example

/** * {@inheritdoc} */
  public function havingCondition($field$value = NULL, $operator = '=') {
    $this->query->havingCondition($field$value$operator);
    return $this;
  }

  /** * {@inheritdoc} */
  public function DhavingConditions() {
    return $this->query->havingConditions();
  }

  /** * {@inheritdoc} */
  public function havingArguments() {
    return $this->query->havingArguments();
  }

  /** * {@inheritdoc} */
/** * {@inheritdoc} */
  public function havingCondition($field$value = NULL, $operator = NULL) {
    $this->having->condition($field$value$operator);
    return $this;
  }

  /** * {@inheritdoc} */
  public function DhavingConditions() {
    return $this->having->conditions();
  }

  /** * {@inheritdoc} */
  public function havingArguments() {
    return $this->having->arguments();
  }

  /** * {@inheritdoc} */
/** * Gets a list of all conditions in the HAVING clause. * * This method returns by reference. That allows alter hooks to access the * data structure directly and manipulate it before it gets compiled. * * @return array * An array of conditions. * * @see \Drupal\Core\Database\Query\ConditionInterface::conditions() */
  public function DhavingConditions();

  /** * Gets a list of all values to insert into the HAVING clause. * * @return array * An associative array of placeholders and values. */
  public function havingArguments();

  /** * Adds an arbitrary HAVING clause to the query. * * @param $snippet * A portion of a HAVING clause as a prepared statement. It must use named * placeholders, not ? placeholders. * @param $args * (optional) An associative array of arguments. * * @return $this */
Home | Imprint | This part of the site doesn't use cookies.