| Select::having |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Adds an arbitrary HAVING clause to the query. |
| Select::havingArguments |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Gets a list of all values to insert into the HAVING clause. |
| Select::havingCompile |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Compiles the HAVING clause for later retrieval. |
| Select::havingCondition |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Helper function to build most common HAVING conditional clauses. |
| Select::havingConditions |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Gets a list of all conditions in the HAVING clause. |
| Select::havingExists |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Sets a HAVING condition that the specified subquery returns values. |
| Select::havingIsNotNull |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Sets a condition in the HAVING clause that the specified field be NOT NULL. |
| Select::havingIsNull |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Sets a condition in the HAVING clause that the specified field be NULL. |
| Select::havingNotExists |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Sets a HAVING condition that the specified subquery returns no values. |
| Select::innerJoin |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Inner Join against another table in the database. |
| Select::isPrepared |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Indicates if preExecute() has already been called on that object. |
| Select::join |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Default Join against another table in the database. |
| Select::leftJoin |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Left Outer Join against another table in the database. |
| Select::orderBy |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Orders the result set by a given field. |
| Select::orderBy |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Select.php |
Overrides SelectQuery::orderBy(). |
| Select::orderRandom |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Select.php |
Orders the result set by a random value. |
| Select::orderRandom |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Orders the result set by a random value. |
| Select::preExecute |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Generic preparation and validation for a SELECT query. |
| Select::prepareCountQuery |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Prepares a count query from the current query object. |
| Select::preRenderSelect |
function |
core/lib/Drupal/Core/Render/Element/Select.php |
Prepares a select render element. |
| Select::processSelect |
function |
core/lib/Drupal/Core/Render/Element/Select.php |
Processes a select list form element. |
| Select::range |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Restricts a query to a given range in the result set. |
| Select::union |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Add another Select query to UNION to this one. |
| Select::valueCallback |
function |
core/lib/Drupal/Core/Render/Element/Select.php |
Determines how user input is mapped to an element's #value property. |
| Select::__clone |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Implements the magic __clone function. |
| Select::__construct |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Constructs a Select object. |
| Select::__construct |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Select.php |
Constructs a Select object. |
| Select::__construct |
function |
core/modules/mysql/src/Driver/Database/mysql/Select.php |
Constructs a Select object. |
| Select::__construct |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Select.php |
Constructs a Select object. |
| Select::__toString |
function |
core/lib/Drupal/Core/Database/Query/Select.php |
Implements PHP magic __toString method to convert the query to a string. |
| SelectCloneTest |
class |
core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php |
Tests cloning Select queries. |
| SelectCloneTest.php |
file |
core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php |
|
| SelectCloneTest::testNestedQueryCloning |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php |
Tests that nested SELECT queries are cloned properly. |
| SelectCloneTest::testSelectConditionSubQueryCloning |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php |
Tests that subqueries as value within conditions are cloned properly. |
| SelectComplexTest |
class |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests the Select query builder with more complex queries. |
| SelectComplexTest.php |
file |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
|
| SelectComplexTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Modules to install. |
| SelectComplexTest::testCountQuery |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests that we can generate a count query from a built query. |
| SelectComplexTest::testCountQueryDistinct |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests that we can generate a count query from a query with distinct. |
| SelectComplexTest::testCountQueryFieldRemovals |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests that countQuery properly removes fields and expressions. |
| SelectComplexTest::testCountQueryGroupBy |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests that we can generate a count query from a query with GROUP BY. |
| SelectComplexTest::testCountQueryRemovals |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests that countQuery removes 'all_fields' statements and ordering clauses. |
| SelectComplexTest::testDefaultJoin |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests simple JOIN statements. |
| SelectComplexTest::testDistinct |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests distinct queries. |
| SelectComplexTest::testGroupBy |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests GROUP BY clauses. |
| SelectComplexTest::testGroupByAndHaving |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests GROUP BY and HAVING clauses together. |
| SelectComplexTest::testHavingCountQuery |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests having queries. |
| SelectComplexTest::testJoinConditionObject |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests that join conditions can use Condition objects. |
| SelectComplexTest::testJoinSubquery |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests that we can join on a query. |
| SelectComplexTest::testJoinTwice |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Confirms we can join on a single table twice with a dynamic alias. |