没有命名空间的类 yii yii\base yii\behaviors yii\caching yii\captcha yii\console yii\console\controllers yii\console\widgets yii\data yii\db yii\db\conditions yii\db\cubrid yii\db\cubrid\conditions yii\db\mssql yii\db\mssql\conditions yii\db\mysql yii\db\oci yii\db\oci\conditions yii\db\pgsql yii\db\sqlite yii\db\sqlite\conditions yii\di yii\filters yii\filters\auth yii\grid yii\helpers yii\i18n yii\log yii\mail yii\mutex yii\rbac yii\rest yii\test yii\validators yii\web yii\widgets

Class yii\db\conditions\AndCondition

继承yii\db\conditions\AndCondition » yii\db\conditions\ConjunctionCondition
实现yii\db\conditions\ConditionInterface
可用版本自2.0.14
源码 https://github.com/yiichina/yii2/blob/api/framework/db/conditions/AndCondition.php

使用 AND 运算符连接两个或多个 SQL 表达式的条件。

受保护的属性

隐藏继承的属性

属性类型描述被定义在
$expressions mixed[] yii\db\conditions\ConjunctionCondition

方法详情

getOperator() 公共 方法

返回由此条件类表示的运算符,比如:ANDOR

public string getOperator()