SelectComplexTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php |
Modules to enable. |
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. |
SelectExtender::arguments |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Gets a complete list of all values to insert into the prepared statement. |
SelectExtender::compile |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Compiles the saved conditions for later retrieval. |
SelectExtender::compiled |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Check whether a condition has been previously compiled. |
SelectExtender::condition |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Helper function: builds the most common conditional clauses. |
SelectExtender::conditionGroupFactory |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Creates an object holding a group of conditions. |
SelectExtender::conditions |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Gets the, possibly nested, list of conditions in this conditional clause. |
SelectExtender::countQuery |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Get the equivalent COUNT query of this query as a new query object. |
SelectExtender::distinct |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Sets this query to be DISTINCT. |
SelectExtender::escapeField |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Escapes a field name string. |
SelectExtender::escapeLike |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Escapes characters that work as wildcard characters in a LIKE pattern. |
SelectExtender::execute |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Runs the query against the database. |
SelectExtender::exists |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Sets a condition that the specified subquery returns values. |
SelectExtender::extend |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Enhance this object by wrapping it in an extender object. |
SelectExtender::fields |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Add multiple fields from the same table to be SELECTed. |
SelectExtender::forUpdate |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Add FOR UPDATE to the query. |
SelectExtender::getArguments |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Compiles and returns an associative array of the arguments for this prepared statement. |
SelectExtender::getExpressions |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Returns a reference to the expressions array for this query. |
SelectExtender::getFields |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Returns a reference to the fields array for this query. |