ISQLConditionGroup extends ICondition
Can be used to define groups of conditions:
(column = value and (column2 = 'value' or column3 = 'value' ))
Tags
Table of Contents
| addCondition() | Add some condition to the group | mixed |
|---|---|---|
| getCondition() | Retrieve the condition as a string | string |
| getValues() | Retrieve a list of values | array |
Methods
addCondition()
Add some condition to the group
public
addCondition(
$condition :
ICondition
[, $or :
bool
= false ]
)
: mixed
Parameters
- $condition : ICondition
- $or : bool = false
Return values
mixedgetCondition()
Retrieve the condition as a string
public
getCondition(
)
: string
Return values
stringgetValues()
Retrieve a list of values
public
getValues(
)
: array
Return values
array —values