Skip to content

ExpressionBuilder ​

Type
Class
Namespace
craft\db
Inherits
craft\db\ExpressionBuilder
Implements
yii\db\ExpressionBuilderInterface
Uses traits
yii\db\ExpressionBuilderTrait
Since
5.1.0

ExpressionBuilder builds craft\db\ExpressionInterface DB expressions.

View source

Protected Properties ​

PropertyDescription
queryBuilderyii\db\QueryBuilder

Public Methods ​

MethodDescription
__construct()ExpressionBuilderTrait constructor.
build()

build() ​

View source

Arguments ​

  • $expression
  • $params