Drupal 8  8.0.2
SelectSubqueryTest Class Reference
Inheritance diagram for SelectSubqueryTest:

Public Member Functions

 testFromSubquerySelect ()
 
 testFromSubquerySelectWithLimit ()
 
 testConditionSubquerySelect ()
 
 testJoinSubquerySelect ()
 
 testExistsSubquerySelect ()
 
 testNotExistsSubquerySelect ()
 
- Public Member Functions inherited from DatabaseTestBase
 ensureSampleDataNull ()
 

Additional Inherited Members

- Static Public Member Functions inherited from DatabaseTestBase
static addSampleData ()
 
- Static Public Attributes inherited from DatabaseTestBase
static $modules = array('database_test')
 
- Protected Member Functions inherited from DatabaseTestBase
 setUp ()
 

Detailed Description

Tests the Select query builder.

Database

Member Function Documentation

testConditionSubquerySelect ( )

Tests that we can use a subquery in a WHERE clause.

References db_select().

Here is the call graph for this function:

testExistsSubquerySelect ( )

Tests EXISTS subquery conditionals on SELECT statements.

We essentially select all rows from the {test} table that have matching rows in the {test_people} table based on the shared name column.

References db_insert(), and db_select().

Here is the call graph for this function:

testFromSubquerySelect ( )

Tests that we can use a subquery in a FROM clause.

References db_select().

Here is the call graph for this function:

testFromSubquerySelectWithLimit ( )

Tests that we can use a subquery in a FROM clause with a LIMIT.

References db_select().

Here is the call graph for this function:

testJoinSubquerySelect ( )

Tests that we can use a subquery in a JOIN clause.

References db_select().

Here is the call graph for this function:

testNotExistsSubquerySelect ( )

Tests NOT EXISTS subquery conditionals on SELECT statements.

We essentially select all rows from the {test} table that don't have matching rows in the {test_people} table based on the shared name column.

References db_insert(), and db_select().

Here is the call graph for this function:


The documentation for this class was generated from the following file: