MediaWiki
master
Subquery.php
Go to the documentation of this file.
1
<?php
21
namespace
Wikimedia\Rdbms
;
22
23
use Stringable;
24
28
class
Subquery
implements
Stringable {
30
private
$sql;
31
35
public
function
__construct
( $sql ) {
36
$this->sql = $sql;
37
}
38
42
public
function
__toString
() {
43
return
'('
. $this->sql .
')'
;
44
}
45
}
Wikimedia\Rdbms\Subquery
Definition
Subquery.php:28
Wikimedia\Rdbms\Subquery\__toString
__toString()
Definition
Subquery.php:42
Wikimedia\Rdbms\Subquery\__construct
__construct( $sql)
Definition
Subquery.php:35
Wikimedia\Rdbms
Definition
ChangedTablesTracker.php:3
includes
libs
rdbms
encasing
Subquery.php
Generated on Mon Dec 30 2024 14:24:34 for MediaWiki by
1.10.0