SelectExtender::having

public SelectExtender::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/SelectExtender.php, line 169 Class SelectExtender The base extender class for Select queries. Namespace Drupal\C

SelectExtender::hasTag

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

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::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::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::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::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