Class yii\db\mssql\conditions\InConditionBuilder

继承yii\db\mssql\conditions\InConditionBuilder » yii\db\conditions\InConditionBuilder
实现yii\db\ExpressionBuilderInterface
Uses Traitsyii\db\ExpressionBuilderTrait
可用自版本2.0.14
源代码 https://github.com/yiisoft/yii2/blob/master/framework/db/mssql/conditions/InConditionBuilder.php

公共方法

隐藏继承的方法

方法描述定义在
__construct() ExpressionBuilderTrait 构造函数. yii\db\ExpressionBuilderTrait
build() Method builds the raw SQL from the $expression that will not be additionally escaped or quoted. yii\db\conditions\InConditionBuilder

方法详情

buildCompositeInCondition() protected 方法

Builds SQL for IN condition.

protected string buildCompositeInCondition ( $operator, $columns, $values, &$params )
$operator string
$columns array|Traversable
$values array
$params array
return string

SQL

buildSubqueryInCondition() protected 方法

Builds SQL for IN condition.

protected string buildSubqueryInCondition ( $operator, $columns, $values, &$params )
$operator string
$columns array|string
$values yii\db\Query
$params array
return string

SQL

throws yii\base\NotSupportedException

if $columns is an array