没有命名空间的类 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\sqlite\conditions\InConditionBuilder

继承yii\db\sqlite\conditions\InConditionBuilder » yii\db\conditions\InConditionBuilder
实现yii\db\ExpressionBuilderInterface
使用 Traitsyii\db\ExpressionBuilderTrait
可用版本自2.0.14
源码 https://github.com/yiichina/yii2/blob/api/framework/db/sqlite/conditions/InConditionBuilder.php

受保护的属性

隐藏继承的属性

属性类型描述被定义在
$queryBuilder yii\db\QueryBuilder yii\db\ExpressionBuilderTrait

公共方法

隐藏继承的方法

方法描述被定义在
__construct() ExpressionBuilderTrait constructor. 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() 受保护 方法

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() 受保护 方法

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