interface SelectInterface

Interface definition for a Select Query object.

Hierarchy

Expanded class hierarchy of SelectInterface

All classes that implement SelectInterface

7 files declare their use of SelectInterface

File

drupal/core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 13
Definition of Drupal\Core\Database\Query\SelectInterface

Namespace

Drupal\Core\Database\Query
View source

Members

Namesort descending Modifiers Type Description Overrides
AlterableInterface::addMetaData public function Adds additional metadata to the query. 3
AlterableInterface::addTag public function Adds a tag to a query. 3
AlterableInterface::getMetaData public function Retrieves a given piece of metadata. 3
AlterableInterface::hasAllTags public function Determines if a given query has all specified tags. 3
AlterableInterface::hasAnyTag public function Determines if a given query has any specified tag. 3
AlterableInterface::hasTag public function Determines if a given query has a given tag. 3
ConditionInterface::arguments public function Gets a complete list of all values to insert into the prepared statement. 6
ConditionInterface::compile public function Compiles the saved conditions for later retrieval. 7
ConditionInterface::compiled public function Check whether a condition has been previously compiled. 6
ConditionInterface::condition public function Helper function: builds the most common conditional clauses.
ConditionInterface::conditions public function Gets a complete list of all conditions in this conditional clause.
ConditionInterface::exists public function Sets a condition that the specified subquery returns values. 7
ConditionInterface::isNotNull public function Sets a condition that the specified field be NOT NULL. 6
ConditionInterface::isNull public function Sets a condition that the specified field be NULL. 6
ConditionInterface::notExists public function Sets a condition that the specified subquery returns no values. 7
ConditionInterface::where public function Adds an arbitrary WHERE clause to the query. 6
ExtendableInterface::extend public function Enhance this object by wrapping it in an extender object. 2
PlaceholderInterface::nextPlaceholder public function Returns the next placeholder ID for the query. 3
PlaceholderInterface::uniqueIdentifier public function Returns a unique identifier for this object. 3
SelectInterface::addExpression public function Adds an expression to the list of "fields" to be SELECTed. 2
SelectInterface::addField public function Adds a field to the list to be SELECTed. 2
SelectInterface::addJoin public function Join against another table in the database. 2
SelectInterface::countQuery public function Get the equivalent COUNT query of this query as a new query object. 2
SelectInterface::distinct public function Sets this query to be DISTINCT. 2
SelectInterface::fields public function Add multiple fields from the same table to be SELECTed. 2
SelectInterface::forUpdate public function Add FOR UPDATE to the query. 2
SelectInterface::getArguments public function Compiles and returns an associative array of the arguments for this prepared statement. 2
SelectInterface::getExpressions public function Returns a reference to the expressions array for this query. 2
SelectInterface::getFields public function Returns a reference to the fields array for this query. 2
SelectInterface::getGroupBy public function Returns a reference to the group-by array for this query. 2
SelectInterface::getOrderBy public function Returns a reference to the order by array for this query. 2
SelectInterface::getTables public function Returns a reference to the tables array for this query. 2
SelectInterface::getUnion public function Returns a reference to the union queries for this query. This include queries for UNION, UNION ALL, and UNION DISTINCT. 2
SelectInterface::groupBy public function Groups the result set by the specified field. 2
SelectInterface::havingCondition public function Helper function to build most common HAVING conditional clauses. 2
SelectInterface::innerJoin public function Inner Join against another table in the database. 2
SelectInterface::isPrepared public function Indicates if preExecute() has already been called on that object. 2
SelectInterface::join public function Default Join against another table in the database. 2
SelectInterface::leftJoin public function Left Outer Join against another table in the database. 2
SelectInterface::orderBy public function Orders the result set by a given field. 2
SelectInterface::orderRandom public function Orders the result set by a random value. 2
SelectInterface::preExecute public function Generic preparation and validation for a SELECT query. 2
SelectInterface::range public function Restricts a query to a given range in the result set. 2
SelectInterface::rightJoin public function Right Outer Join against another table in the database. 2
SelectInterface::union public function Add another Select query to UNION to this one. 2
SelectInterface::__clone public function Clone magic method. 1