MediaWiki master
|
Inherited by Wikimedia\Rdbms\Expression, and Wikimedia\Rdbms\ExpressionGroup.
Public Member Functions | |
toGeneralizedSql () | |
Return SQL for aggregated logging. | |
toSql (DbQuoter $dbQuoter) | |
Return SQL for execution. | |
Public Attributes | |
const | ACCEPTABLE_OPERATORS = [ '>', '<', '!=', '=', '>=', '<=', self::LIKE, self::NOT_LIKE ] |
const | LIKE = 'LIKE' |
const | NOT_LIKE = 'NOT LIKE' |
Definition at line 10 of file IExpression.php.
Wikimedia\Rdbms\IExpression::toGeneralizedSql | ( | ) |
Return SQL for aggregated logging.
Replaces values with placeholders.
Implemented in Wikimedia\Rdbms\Expression, Wikimedia\Rdbms\ExpressionGroup, and Wikimedia\Rdbms\RawSQLExpression.
Wikimedia\Rdbms\IExpression::toSql | ( | DbQuoter | $dbQuoter | ) |
Return SQL for execution.
Implemented in Wikimedia\Rdbms\Expression, Wikimedia\Rdbms\ExpressionGroup, and Wikimedia\Rdbms\RawSQLExpression.
const Wikimedia\Rdbms\IExpression::ACCEPTABLE_OPERATORS = [ '>', '<', '!=', '=', '>=', '<=', self::LIKE, self::NOT_LIKE ] |
Definition at line 12 of file IExpression.php.
Referenced by Wikimedia\Rdbms\Expression\__construct().
const Wikimedia\Rdbms\IExpression::LIKE = 'LIKE' |
Definition at line 14 of file IExpression.php.
Referenced by Wikimedia\Rdbms\Expression\__construct(), and Wikimedia\Rdbms\DatabaseMySQL\listTables().
const Wikimedia\Rdbms\IExpression::NOT_LIKE = 'NOT LIKE' |
Definition at line 15 of file IExpression.php.
Referenced by Wikimedia\Rdbms\Expression\__construct().