A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.yiiframework.com/doc/api/2.0/yii-db-conditions-betweenconditionbuilder below:

BetweenConditionBuilder, yii\db\conditions\BetweenConditionBuilder | API Documentation for Yii 2.0

Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.

                public function build(ExpressionInterface $expression, array &$params = [])
{
    $operator = $expression->getOperator();
    $column = $expression->getColumn();
    if (strpos($column, '(') === false) {
        $column = $this->queryBuilder->db->quoteColumnName($column);
    }
    $phName1 = $this->createPlaceholder($expression->getIntervalStart(), $params);
    $phName2 = $this->createPlaceholder($expression->getIntervalEnd(), $params);
    return "$column $operator $phName1 AND $phName2";
}

            

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4