| 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::__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. |
| SelectComplexTest::testLeftOuterJoin |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests LEFT OUTER joins. |
| SelectComplexTest::testNestedConditions |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Confirms that we can properly nest conditional clauses. |
| SelectComplexTest::testRange |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests range queries. |
| SelectComplexTest::testRangeUndo |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests whether the range property of a select clause can be undone. |
| SelectComplexTest::testSelectWithRowCount |
function |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Tests that rowCount() throws exception on SELECT query. |
| SelectExtender |
class |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
The base extender class for Select queries. |
| SelectExtender.php |
file |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
|
| SelectExtender::$connection |
property |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
The connection object on which to run this query. |
| SelectExtender::$placeholder |
property |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
The placeholder counter. |
| SelectExtender::$query |
property |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
The Select query object we are extending/decorating. |
| SelectExtender::$uniqueIdentifier |
property |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
A unique identifier for this query object. |
| SelectExtender::addExpression |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Adds an expression to the list of "fields" to be SELECTed. |
| SelectExtender::addField |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Adds a field to the list to be SELECTed. |
| SelectExtender::addJoin |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Join against another table in the database. |
| SelectExtender::addMetaData |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Adds additional metadata to the query. |
| SelectExtender::addTag |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Adds a tag to a query. |
| SelectExtender::alwaysFalse |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Sets a condition that is always false. |
| SelectExtender::andConditionGroup |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Creates a new group of conditions ANDed together. |