MediaWiki master
|
Representing a group of expressions chained via OR. More...
Inherits Wikimedia\Rdbms\ExpressionGroup.
Public Member Functions | |
or (string $field, string $op, $value) | |
orExpr (IExpression $expr) | |
Public Member Functions inherited from Wikimedia\Rdbms\ExpressionGroup | |
__construct (IExpression ... $children) | |
toGeneralizedSql () | |
Return SQL for aggregated logging. | |
toSql (DbQuoter $dbQuoter) | |
Protected Member Functions | |
getType () | |
Protected Member Functions inherited from Wikimedia\Rdbms\ExpressionGroup | |
add (IExpression $expression) | |
Additional Inherited Members | |
Static Public Member Functions inherited from Wikimedia\Rdbms\ExpressionGroup | |
static | newFromArray (array $conds) |
Public Attributes inherited from Wikimedia\Rdbms\IExpression | |
const | ACCEPTABLE_OPERATORS = [ '>', '<', '!=', '=', '>=', '<=', self::LIKE, self::NOT_LIKE ] |
const | LIKE = 'LIKE' |
const | NOT_LIKE = 'NOT LIKE' |
Protected Attributes inherited from Wikimedia\Rdbms\ExpressionGroup | |
array IExpression[] | $children = [] |
Representing a group of expressions chained via OR.
Definition at line 10 of file OrExpressionGroup.php.
|
protected |
Reimplemented from Wikimedia\Rdbms\ExpressionGroup.
Definition at line 11 of file OrExpressionGroup.php.
Wikimedia\Rdbms\OrExpressionGroup::or | ( | string | $field, |
string | $op, | ||
$value ) |
string | $field | |
string | $op | One of '>', '<', '!=', '=', '>=', '<=', IExpression::LIKE, IExpression::NOT_LIKE |
?scalar|RawSQLValue|Blob|LikeValue|non-empty-list<scalar|Blob> | $value |
Definition at line 28 of file OrExpressionGroup.php.
Wikimedia\Rdbms\OrExpressionGroup::orExpr | ( | IExpression | $expr | ) |
IExpression | $expr |
Definition at line 39 of file OrExpressionGroup.php.