MediaWiki
1.42.1
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:9
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 Thu Jun 27 2024 15:59:24 for MediaWiki by
1.10.0