buildSimpleCondition() public method
Creates an SQL expressions like "column" operator value
.
public string buildSimpleCondition ( $operator, $operands, &$params ) | ||
---|---|---|
$operator | string |
The operator to use. Anything could be used e.g. |
$operands | array |
Contains two column names. |
$params | array |
The binding parameters to be populated |
return | string |
The generated SQL expression |
throws | yii\base\InvalidParamException |
if wrong number of operands have been given. |
Please login to continue.