db\QueryBuilder buildCondition()

buildCondition() public method

Parses the condition specification and generates the corresponding SQL expression.

public string buildCondition ( $condition, &$params )
$condition string|array|yii\db\Expression

The condition specification. Please refer to yii\db\Query::where() on how to specify a condition.

$params array

The binding parameters to be populated

return string

The generated SQL expression

doc_Yii
2016-10-30 16:59:11
Comments
Leave a Comment

Please login to continue.