MediaWiki
master
IExpression.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Rdbms
;
4
5
use
Wikimedia\Rdbms\Database\DbQuoter
;
6
10
interface
IExpression
{
11
12
public
const
ACCEPTABLE_OPERATORS
= [
'>'
,
'<'
,
'!='
,
'='
,
'>='
,
'<='
,
self::LIKE
,
self::NOT_LIKE
];
13
14
public
const
LIKE
=
'LIKE'
;
15
public
const
NOT_LIKE
=
'NOT LIKE'
;
16
21
public
function
toSql
(
DbQuoter
$dbQuoter ): string;
22
30
public
function
toGeneralizedSql
(): string;
31
}
Wikimedia\Rdbms\Database\DbQuoter
Definition
DbQuoter.php:10
Wikimedia\Rdbms\IExpression
Definition
IExpression.php:10
Wikimedia\Rdbms\IExpression\toGeneralizedSql
toGeneralizedSql()
Return SQL for aggregated logging.
Wikimedia\Rdbms\IExpression\LIKE
const LIKE
Definition
IExpression.php:14
Wikimedia\Rdbms\IExpression\NOT_LIKE
const NOT_LIKE
Definition
IExpression.php:15
Wikimedia\Rdbms\IExpression\ACCEPTABLE_OPERATORS
const ACCEPTABLE_OPERATORS
Definition
IExpression.php:12
Wikimedia\Rdbms\IExpression\toSql
toSql(DbQuoter $dbQuoter)
Return SQL for execution.
Wikimedia\Rdbms
Definition
ChangedTablesTracker.php:3
includes
libs
rdbms
expression
IExpression.php
Generated on Sat Nov 2 2024 18:24:17 for MediaWiki by
1.10.0