buildExistsCondition() public method
Creates an SQL expressions with the EXISTS
operator.
public string buildExistsCondition ( $operator, $operands, &$params ) | ||
---|---|---|
$operator | string |
The operator to use (e.g. |
$operands | array |
Contains only one element which is a yii\db\Query object representing the sub-query. |
$params | array |
The binding parameters to be populated |
return | string |
The generated SQL expression |
throws | yii\base\InvalidParamException |
if the operand is not a yii\db\Query object. |
Please login to continue.