Select::havingIsNotNull

public Select::havingIsNotNull($field) Sets a condition in the HAVING clause that the specified field be NOT NULL. Parameters $field: The name of the field to check. Return value $this Overrides SelectInterface::havingIsNotNull File core/lib/Drupal/Core/Database/Query/Select.php, line 338 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function havingIsNotNull($field) { $this->having->isNotNull($field); return $this; }

Select::havingExists

public Select::havingExists(SelectInterface $select) Sets a HAVING condition that the specified subquery returns values. Parameters \Drupal\Core\Database\Query\SelectInterface $select: The subquery that must contain results. Return value $this Overrides SelectInterface::havingExists File core/lib/Drupal/Core/Database/Query/Select.php, line 346 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function havingExists(SelectInterface $sele

Select::havingConditions

public &Select::havingConditions() 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 value array An array of conditions. Overrides SelectInterface::havingConditions See also \Drupal\Core\Database\Query\ConditionInterface::conditions() File core/lib/Drupal/Core/Database/Query/Select.php, line 290 Class Select Query builder for SELECT state

Select::havingCondition

public Select::havingCondition($field, $value = NULL, $operator = NULL) Helper function to build most common HAVING conditional clauses. This method can take a variable number of parameters. If called with two parameters, they are taken as $field and $value with $operator having a value of IN if $value is an array and = otherwise. Parameters $field: The name of the field to check. If you would like to add a more complex condition involving operators or functions, use having(). $value: The valu

Select::havingCompile

public Select::havingCompile(Connection $connection) Compiles the HAVING clause for later retrieval. Parameters $connection: The database connection for which to compile the clause. Overrides SelectInterface::havingCompile File core/lib/Drupal/Core/Database/Query/Select.php, line 312 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function havingCompile(Connection $connection) { $this->having->compile($connection, $this); }

Select::havingArguments

public Select::havingArguments() Gets a list of all values to insert into the HAVING clause. Return value array An associative array of placeholders and values. Overrides SelectInterface::havingArguments File core/lib/Drupal/Core/Database/Query/Select.php, line 297 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function havingArguments() { return $this->having->arguments(); }

Select::having

public Select::having($snippet, $args = array()) Adds an arbitrary HAVING clause to the query. Parameters $snippet: A portion of a HAVING clause as a prepared statement. It must use named placeholders, not ? placeholders. $args: (optional) An associative array of arguments. Return value $this Overrides SelectInterface::having File core/lib/Drupal/Core/Database/Query/Select.php, line 304 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public

Select::hasTag

public Select::hasTag($tag) Determines if a given query has a given tag. Parameters $tag: The tag to check. Return value TRUE if this query has been marked with this tag, FALSE otherwise. Overrides AlterableInterface::hasTag File core/lib/Drupal/Core/Database/Query/Select.php, line 152 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function hasTag($tag) { return isset($this->alterTags[$tag]); }

Select::hasAnyTag

public Select::hasAnyTag() Determines if a given query has any specified tag. Parameters $tags: A variable number of arguments, one for each tag to check. Return value TRUE if this query has been marked with at least one of the specified tags, FALSE otherwise. Overrides AlterableInterface::hasAnyTag File core/lib/Drupal/Core/Database/Query/Select.php, line 166 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function hasAnyTag() { r

Select::hasAllTags

public Select::hasAllTags() Determines if a given query has all specified tags. Parameters $tags: A variable number of arguments, one for each tag to check. Return value TRUE if this query has been marked with all specified tags, FALSE otherwise. Overrides AlterableInterface::hasAllTags File core/lib/Drupal/Core/Database/Query/Select.php, line 159 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function hasAllTags() { return !(bool