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. |
SelectExtender::getGroupBy |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Returns a reference to the group-by array for this query. |
SelectExtender::getMetaData |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Retrieves a given piece of metadata. |
SelectExtender::getOrderBy |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Returns a reference to the order by array for this query. |
SelectExtender::getTables |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Returns a reference to the tables array for this query. |
SelectExtender::getUnion |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Returns a reference to the union queries for this query. |
SelectExtender::groupBy |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Groups the result set by the specified field. |
SelectExtender::hasAllTags |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Determines if a given query has all specified tags. |
SelectExtender::hasAnyTag |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Determines if a given query has any specified tag. |
SelectExtender::hasTag |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Determines if a given query has a given tag. |
SelectExtender::having |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Adds an arbitrary HAVING clause to the query. |
SelectExtender::havingArguments |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Gets a list of all values to insert into the HAVING clause. |
SelectExtender::havingCompile |
function |
core/lib/Drupal/Core/Database/Query/SelectExtender.php |
Compiles the HAVING clause for later retrieval. |