Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5939929
Subquery.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
446 B
Referenced Files
None
Subscribers
None
Subquery.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
namespace
Wikimedia\Rdbms
;
use
Stringable
;
/**
* @ingroup Database
*/
class
Subquery
implements
Stringable
{
/** @var string */
private
$sql
;
/**
* @param string $sql SQL query defining the table
*/
public
function
__construct
(
$sql
)
{
$this
->
sql
=
$sql
;
}
/**
* @return string Original SQL query
*/
public
function
__toString
()
{
return
'('
.
$this
->
sql
.
')'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 2 2026, 16:48 (6 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f0/5c/1f8cc30e91eb2f0c20d2fb2ad86c
Default Alt Text
Subquery.php (446 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment