SelectExtender::havingArguments

public SelectExtender::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/SelectExtender.php, line 162 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function havingArguments() { return $this->query->havingArguments(); }

SelectExtender::havingConditions

public &SelectExtender::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/SelectExtender.php, line 155 Class SelectExtender The ba

SelectExtender::hasAnyTag

public SelectExtender::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/SelectExtender.php, line 81 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code pub

SelectExtender::getTables

public &SelectExtender::getTables() Returns a reference to the tables array for this query. Because this method returns by reference, alter hooks may edit the tables array directly to make their changes. If just adding tables, however, the use of the join() methods is preferred. Note that this method must be called by reference as well: $fields =& $query->getTables(); Return value A reference to the tables array structure. Overrides SelectInterface::getTables File core/lib/Drupal/C

SelectExtender::getOrderBy

public &SelectExtender::getOrderBy() Returns a reference to the order by array for this query. Because this method returns by reference, alter hooks may edit the order-by array directly to make their changes. If just adding additional ordering fields, however, the use of orderBy() is preferred. Note that this method must be called by reference as well: $fields =& $query->getOrderBy(); Return value A reference to the expression array structure. Overrides SelectInterface::getOrderBy

SelectExtender::groupBy

public SelectExtender::groupBy($field) Groups the result set by the specified field. Parameters $field: The field on which to group. This should be the field as aliased. Return value \Drupal\Core\Database\Query\SelectInterface The called object. Overrides SelectInterface::groupBy File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 420 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function groupBy($field

SelectExtender::getUnion

public &SelectExtender::getUnion() Returns a reference to the union queries for this query. This include queries for UNION, UNION ALL, and UNION DISTINCT. Because this method returns by reference, alter hooks may edit the tables array directly to make their changes. If just adding union queries, however, the use of the union() method is preferred. Note that this method must be called by reference as well: $fields =& $query->getUnion(); Return value A reference to the union query ar

SelectExtender::hasAllTags

public SelectExtender::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/SelectExtender.php, line 74 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function

SelectExtender::getMetaData

public SelectExtender::getMetaData($key) Retrieves a given piece of metadata. Parameters $key: The unique identifier for the piece of metadata to retrieve. Return value The previously attached metadata object, or NULL if one doesn't exist. Overrides AlterableInterface::getMetaData File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 96 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function getMetaData($k

SelectExtender::getGroupBy

public &SelectExtender::getGroupBy() Returns a reference to the group-by array for this query. Because this method returns by reference, alter hooks may edit the group-by array directly to make their changes. If just adding additional grouping fields, however, the use of groupBy() is preferred. Note that this method must be called by reference as well: $fields =& $query->getGroupBy(); Return value A reference to the group-by array structure. Overrides SelectInterface::getGroupBy Fi