yii\db\conditions\ConditionInterface - Yii2 类参考手册
Interface yii\db\conditions\ConditionInterface
全部
| 方法 Methods
Interface ConditionInterface should be implemented by classes that represent a condition in DBAL of framework.
Public Methods
隐藏继承的方法 Hide inherited methods
方法 Method | 简介 Description | 定义在 Defined By |
---|---|---|
fromArrayDefinition() | Creates object by array-definition as described in Query Builder – Operator format guide article. | yii\db\conditions\ConditionInterface |
方法详情 Method Details
Creates object by array-definition as described in Query Builder – Operator format guide article.
public abstract static $this fromArrayDefinition ( $operator, $operands ) | ||
$operator | string | Operator in uppercase. |
$operands | array | Array of corresponding operands |
throws | yii\base\InvalidParamException | if input parameters are not suitable for this condition |
---|