MediaWiki master
Wikimedia\Rdbms\JoinGroup Class Reference

Parenthesized group of table names and their join types and conditions. More...

Inherits Wikimedia\Rdbms\JoinGroupBase.

Collaboration diagram for Wikimedia\Rdbms\JoinGroup:

Public Member Functions

 __construct ( $alias)
 Use SelectQueryBuilder::newJoinGroup() to create a join group.
 
 getAlias ()
 
 getRawJoinConds ()
 
 getRawTables ()
 
- Public Member Functions inherited from Wikimedia\Rdbms\JoinGroupBase
 join ( $table, $alias=null, $conds=[])
 Inner join a table or group of tables.
 
 leftJoin ( $table, $alias=null, $conds=[])
 Left join a table or group of tables.
 
 straightJoin ( $table, $alias=null, $conds=[])
 Straight join a table or group of tables.
 
 table ( $table, $alias=null)
 Add a single table or a single parenthesized group.
 

Protected Member Functions

 getAutoAlias ()
 Get a table alias which is unique to the parent SelectQueryBuilder.
 

Additional Inherited Members

- Protected Attributes inherited from Wikimedia\Rdbms\JoinGroupBase
array $joinConds = []
 
string null $lastAlias
 
array $tables = []
 

Detailed Description

Parenthesized group of table names and their join types and conditions.

Access: internal

Definition at line 10 of file JoinGroup.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Rdbms\JoinGroup::__construct ( $alias)

Use SelectQueryBuilder::newJoinGroup() to create a join group.

Access: internal
Parameters
string$alias

Definition at line 23 of file JoinGroup.php.

Member Function Documentation

◆ getAlias()

Wikimedia\Rdbms\JoinGroup::getAlias ( )
Access: internal
Returns
string

Definition at line 56 of file JoinGroup.php.

◆ getAutoAlias()

Wikimedia\Rdbms\JoinGroup::getAutoAlias ( )
protected

Get a table alias which is unique to the parent SelectQueryBuilder.

Returns
string

Reimplemented from Wikimedia\Rdbms\JoinGroupBase.

Definition at line 32 of file JoinGroup.php.

◆ getRawJoinConds()

Wikimedia\Rdbms\JoinGroup::getRawJoinConds ( )
Access: internal
Returns
array

Definition at line 48 of file JoinGroup.php.

References Wikimedia\Rdbms\JoinGroupBase\$joinConds.

◆ getRawTables()

Wikimedia\Rdbms\JoinGroup::getRawTables ( )
Access: internal
Returns
array

Definition at line 40 of file JoinGroup.php.

References Wikimedia\Rdbms\JoinGroupBase\$tables.


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