class Select
PostgreSQL implementation of \Drupal\Core\Database\Query\Select.
Hierarchy
- class \Drupal\Core\Database\Query\Query implements \Drupal\Core\Database\Query\PlaceholderInterface
- class \Drupal\Core\Database\Query\Select implements \Drupal\Core\Database\Query\SelectInterface uses \Drupal\Core\Database\Query\QueryConditionTrait extends \Drupal\Core\Database\Query\Query
- class \Drupal\pgsql\Driver\Database\pgsql\Select extends \Drupal\Core\Database\Query\Select
- class \Drupal\Core\Database\Driver\pgsql\Select extends \Drupal\pgsql\Driver\Database\pgsql\Select
- class \Drupal\pgsql\Driver\Database\pgsql\Select extends \Drupal\Core\Database\Query\Select
- class \Drupal\Core\Database\Query\Select implements \Drupal\Core\Database\Query\SelectInterface uses \Drupal\Core\Database\Query\QueryConditionTrait extends \Drupal\Core\Database\Query\Query
Expanded class hierarchy of Select
Deprecated
in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module.
See also
https://www.drupal.org/node/3129492
1 file declares its use of Select
- PgsqlDriverLegacyTest.php in core/
modules/ pgsql/ tests/ src/ Kernel/ pgsql/ PgsqlDriverLegacyTest.php
129 string references to 'Select'
- AjaxFormPageCacheTest::testSimpleAJAXFormValue in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ AjaxFormPageCacheTest.php - Create a simple form, then submit the form via AJAX to change to it.
- BooleanOperator::valueForm in core/
modules/ views/ src/ Plugin/ views/ filter/ BooleanOperator.php - Callbacks::selectCallback in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Callbacks.php - Ajax callback triggered by select.
- ckeditor5_form_filter_format_form_alter in core/
modules/ ckeditor5/ ckeditor5.module - Implements hook_form_FORM_ID_alter().
- Connection::getDriverClass in core/
lib/ Drupal/ Core/ Database/ Connection.php - Gets the driver-specific override class if any for the specified class.
File
-
core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Select.php, line 17
Namespace
Drupal\Core\Database\Driver\pgsqlView source
class Select extends PgsqlSelect {
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
|---|---|---|---|---|---|
| Query::$comments | protected | property | An array of comments that can be prepended to a query. | ||
| Query::$connection | protected | property | The connection object on which to run this query. | ||
| Query::$connectionKey | protected | property | The key of the connection object. | ||
| Query::$connectionTarget | protected | property | The target of the connection object. | ||
| Query::$nextPlaceholder | protected | property | The placeholder counter. | ||
| Query::$queryOptions | protected | property | The query options to pass on to the connection object. | ||
| Query::$uniqueIdentifier | protected | property | A unique identifier for this query object. | ||
| Query::comment | public | function | Adds a comment to the query. | ||
| Query::getComments | public | function | Returns a reference to the comments array for the query. | ||
| Query::getConnection | public | function | Gets the database connection to be used for the query. | ||
| Query::nextPlaceholder | public | function | Gets the next placeholder value for this query object. | Overrides PlaceholderInterface::nextPlaceholder | |
| Query::uniqueIdentifier | public | function | Returns a unique identifier for this object. | Overrides PlaceholderInterface::uniqueIdentifier | |
| Query::__sleep | public | function | Implements the magic __sleep function to disconnect from the database. | ||
| Query::__wakeup | public | function | Implements the magic __wakeup function to reconnect to the database. | ||
| QueryConditionTrait::$condition | protected | property | The condition object for this query. | ||
| QueryConditionTrait::alwaysFalse | public | function | |||
| QueryConditionTrait::andConditionGroup | public | function | |||
| QueryConditionTrait::condition | public | function | |||
| QueryConditionTrait::conditionGroupFactory | public | function | |||
| QueryConditionTrait::conditions | public | function | |||
| QueryConditionTrait::exists | public | function | |||
| QueryConditionTrait::isNotNull | public | function | |||
| QueryConditionTrait::isNull | public | function | |||
| QueryConditionTrait::notExists | public | function | |||
| QueryConditionTrait::orConditionGroup | public | function | |||
| QueryConditionTrait::where | public | function | |||
| Select::$alterMetaData | public | property | The query metadata for alter purposes. | ||
| Select::$alterTags | public | property | The query tags. | ||
| Select::$distinct | protected | property | Whether or not this query should be DISTINCT. | ||
| Select::$expressions | protected | property | The expressions to SELECT as virtual fields. | ||
| Select::$fields | protected | property | The fields to SELECT. | ||
| Select::$forUpdate | protected | property | The FOR UPDATE status. | 1 | |
| Select::$group | protected | property | The fields by which to group. | ||
| Select::$having | protected | property | The conditional object for the HAVING clause. | ||
| Select::$order | protected | property | The fields by which to order this query. | ||
| Select::$prepared | protected | property | Indicates if preExecute() has already been called. | ||
| Select::$range | protected | property | The range limiters for this query. | ||
| Select::$tables | protected | property | The tables against which to JOIN. | ||
| Select::$union | protected | property | An array whose elements specify a query to UNION, and the UNION type. | ||
| Select::addExpression | public | function | Overrides Select::addExpression | ||
| Select::addField | public | function | Overrides SelectInterface::addField | ||
| Select::addJoin | public | function | Overrides SelectInterface::addJoin | ||
| Select::addMetaData | public | function | Overrides AlterableInterface::addMetaData | ||
| Select::addTag | public | function | Overrides AlterableInterface::addTag | ||
| Select::arguments | public | function | Overrides QueryConditionTrait::arguments | ||
| Select::compile | public | function | Overrides QueryConditionTrait::compile | ||
| Select::compiled | public | function | Overrides QueryConditionTrait::compiled | ||
| Select::countQuery | public | function | Overrides SelectInterface::countQuery | ||
| Select::distinct | public | function | Overrides SelectInterface::distinct | ||
| Select::escapeField | public | function | Overrides SelectInterface::escapeField | ||
| Select::escapeLike | public | function | Overrides SelectInterface::escapeLike | ||
| Select::execute | public | function | Overrides Select::execute | ||
| Select::extend | public | function | Overrides ExtendableInterface::extend | ||
| Select::fields | public | function | Overrides SelectInterface::fields | ||
| Select::forUpdate | public | function | Overrides SelectInterface::forUpdate | 1 | |
| Select::getArguments | public | function | Overrides SelectInterface::getArguments | ||
| Select::getExpressions | public | function | Overrides SelectInterface::getExpressions | ||
| Select::getFields | public | function | Overrides SelectInterface::getFields | ||
| Select::getGroupBy | public | function | Overrides SelectInterface::getGroupBy | ||
| Select::getMetaData | public | function | Overrides AlterableInterface::getMetaData | ||
| Select::getOrderBy | public | function | Overrides SelectInterface::getOrderBy | ||
| Select::getTables | public | function | Overrides SelectInterface::getTables | ||
| Select::getUnion | public | function | Overrides SelectInterface::getUnion | ||
| Select::groupBy | public | function | Overrides SelectInterface::groupBy | ||
| Select::hasAllTags | public | function | Overrides AlterableInterface::hasAllTags | ||
| Select::hasAnyTag | public | function | Overrides AlterableInterface::hasAnyTag | ||
| Select::hasTag | public | function | Overrides AlterableInterface::hasTag | ||
| Select::having | public | function | Overrides SelectInterface::having | ||
| Select::havingArguments | public | function | Overrides SelectInterface::havingArguments | ||
| Select::havingCompile | public | function | Overrides SelectInterface::havingCompile | ||
| Select::havingCondition | public | function | Overrides SelectInterface::havingCondition | ||
| Select::havingConditions | public | function | Overrides SelectInterface::havingConditions | ||
| Select::havingExists | public | function | Overrides SelectInterface::havingExists | ||
| Select::havingIsNotNull | public | function | Overrides SelectInterface::havingIsNotNull | ||
| Select::havingIsNull | public | function | Overrides SelectInterface::havingIsNull | ||
| Select::havingNotExists | public | function | Overrides SelectInterface::havingNotExists | ||
| Select::innerJoin | public | function | Overrides SelectInterface::innerJoin | ||
| Select::isPrepared | public | function | Overrides SelectInterface::isPrepared | ||
| Select::join | public | function | Overrides SelectInterface::join | ||
| Select::leftJoin | public | function | Overrides SelectInterface::leftJoin | ||
| Select::orderBy | public | function | Overrides SelectQuery::orderBy(). | Overrides Select::orderBy | |
| Select::orderRandom | public | function | Overrides Select::orderRandom | ||
| Select::preExecute | public | function | Overrides SelectInterface::preExecute | ||
| Select::prepareCountQuery | protected | function | Prepares a count query from the current query object. | ||
| Select::range | public | function | Overrides SelectInterface::range | ||
| Select::union | public | function | Overrides SelectInterface::union | ||
| Select::__clone | public | function | Overrides Query::__clone | ||
| Select::__construct | public | function | Overrides Select::__construct | ||
| Select::__toString | public | function | Overrides Query::__toString |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.