MediaWiki REL1_35
Wikimedia\Rdbms\Subquery Class Reference

Public Member Functions

 __construct ( $sql)
 
 __toString ()
 

Private Attributes

string $sql
 

Detailed Description

Definition at line 27 of file Subquery.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Rdbms\Subquery::__construct (   $sql)
Parameters
string$sqlSQL query defining the table

Definition at line 34 of file Subquery.php.

References Wikimedia\Rdbms\Subquery\$sql.

Member Function Documentation

◆ __toString()

Wikimedia\Rdbms\Subquery::__toString ( )
Returns
string Original SQL query

Definition at line 41 of file Subquery.php.

Member Data Documentation

◆ $sql

string Wikimedia\Rdbms\Subquery::$sql
private

Definition at line 29 of file Subquery.php.

Referenced by Wikimedia\Rdbms\Subquery\__construct().


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