Interface yii\db\ExpressionBuilderInterface
Interface ExpressionBuilderInterface is designed to build raw SQL from specific expression objects that implement yii\db\ExpressionInterface.
Public Methods
Method | Description | Defined By |
---|---|---|
build() | Method builds the raw SQL from the $expression that will not be additionally escaped or quoted. | yii\db\ExpressionBuilderInterface |
Method Details
Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.
public abstract string build ( yii\db\ExpressionInterface $expression, array &$params = [] ) | ||
$expression | yii\db\ExpressionInterface |
The expression to be built. |
$params | array |
The binding parameters. |
return | string |
The raw SQL that will not be additionally escaped or quoted. |
---|
public function build(ExpressionInterface $expression, array &$params = []);