Interface yii\db\ExpressionInterface

Implemented byyii\db\ActiveQuery, yii\db\ArrayExpression, yii\db\Expression, yii\db\JsonExpression, yii\db\PdoValue, yii\db\Query, yii\db\conditions\ConditionInterface
可用自版本2.0.14
源代码 https://github.com/yiisoft/yii2/blob/master/framework/db/ExpressionInterface.php

接口 ExpressionInterface 应该用于标记类, 该类应以特殊方式构建.

Yii 框架的数据库抽象层支持实现此接口的对象, 并将使用 yii\db\ExpressionBuilderInterface 来构建它们.

默认实现是类 yii\db\Expression.