MediaWiki REL1_35
Wikimedia\Rdbms\JoinGroup Class Reference

An object representing a parenthesized group of tables and their join types and conditions. More...

Inheritance diagram for Wikimedia\Rdbms\JoinGroup:
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.
 
 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.
 

Private Attributes

string $alias
 
int $nextAutoAlias = 0
 

Additional Inherited Members

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

Detailed Description

An object representing a parenthesized group of tables and their join types and conditions.

Definition at line 9 of file JoinGroup.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

Definition at line 22 of file JoinGroup.php.

References Wikimedia\Rdbms\JoinGroup\$alias.

Member Function Documentation

◆ getAlias()

Wikimedia\Rdbms\JoinGroup::getAlias ( )

Definition at line 55 of file JoinGroup.php.

References Wikimedia\Rdbms\JoinGroup\$alias.

◆ 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 31 of file JoinGroup.php.

◆ getRawJoinConds()

Wikimedia\Rdbms\JoinGroup::getRawJoinConds ( )

Definition at line 47 of file JoinGroup.php.

References Wikimedia\Rdbms\JoinGroupBase\$joinConds.

◆ getRawTables()

Wikimedia\Rdbms\JoinGroup::getRawTables ( )

Definition at line 39 of file JoinGroup.php.

References Wikimedia\Rdbms\JoinGroupBase\$tables.

Member Data Documentation

◆ $alias

string Wikimedia\Rdbms\JoinGroup::$alias
private

◆ $nextAutoAlias

int Wikimedia\Rdbms\JoinGroup::$nextAutoAlias = 0
private

Definition at line 14 of file JoinGroup.php.


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