Class yii\db\conditions\ExistsCondition
Inheritance | yii\db\conditions\ExistsCondition |
---|---|
Implements | yii\db\conditions\ConditionInterface |
Available since version | 2.0.14 |
Source Code | https://github.com/yiisoft/yii2/blob/master/framework/db/conditions/ExistsCondition.php |
Condition that represents EXISTS
operator.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | ExistsCondition constructor. | yii\db\conditions\ExistsCondition |
fromArrayDefinition() | {@inheritdoc} | yii\db\conditions\ExistsCondition |
getOperator() | yii\db\conditions\ExistsCondition | |
getQuery() | yii\db\conditions\ExistsCondition |
Method Details
ExistsCondition constructor.
public void __construct ( $operator, $query ) | ||
$operator | string | The operator to use (e.g. |
$query | yii\db\Query | The yii\db\Query object representing the sub-query. |
{@inheritdoc}
public static void fromArrayDefinition ( $operator, $operands ) | ||
$operator | ||
$operands |
public string getOperator ( ) |
public yii\db\Query getQuery ( ) |
Signup or Login in order to comment.