yii\db\conditions\AndCondition - Yii2 类参考手册

Class yii\db\conditions\AndCondition

Inheritanceyii\db\conditions\AndCondition » yii\db\conditions\ConjunctionCondition
Implementsyii\db\conditions\ConditionInterface
Available since version2.0.14

Condition that connects two or more SQL expressions with the AND operator.

Protected Properties

隐藏继承的属性 Hide inherited properties

属性Property类型 Type简介 Description定义在 Defined By
$expressions mixed[] yii\db\conditions\ConjunctionCondition

Public Methods

隐藏继承的方法 Hide inherited methods

方法 Method简介 Description定义在 Defined By
__construct() yii\db\conditions\ConjunctionCondition
fromArrayDefinition() Creates object by array-definition as described in Query Builder – Operator format guide article. yii\db\conditions\ConjunctionCondition
getExpressions() yii\db\conditions\ConjunctionCondition
getOperator() Returns the operator that is represented by this condition class, e.g. AND, OR. yii\db\conditions\AndCondition

方法详情 Method Details

getOperator() public method

Returns the operator that is represented by this condition class, e.g. AND, OR.

public string getOperator ( )