ExistsConditionBuilder
in package
implements
ExpressionBuilderInterface
uses
ExpressionBuilderTrait
Class ExistsConditionBuilder builds objects of [[ExistsCondition]]
Tags
Table of Contents
Interfaces
- ExpressionBuilderInterface
- Interface ExpressionBuilderInterface is designed to build raw SQL from specific expression objects that implement [[ExpressionInterface]].
Properties
Methods
- __construct() : mixed
- ExpressionBuilderTrait constructor.
- build() : string
- Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.
Properties
$queryBuilder
protected
QueryBuilder
$queryBuilder
Methods
__construct()
ExpressionBuilderTrait constructor.
public
__construct(QueryBuilder $queryBuilder) : mixed
Parameters
- $queryBuilder : QueryBuilder
build()
Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.
public
build(ExpressionInterface|ExistsCondition $expression[, array<string|int, mixed> &$params = [] ]) : string
Parameters
- $expression : ExpressionInterface|ExistsCondition
-
the expression to be built.
- $params : array<string|int, mixed> = []
-
the binding parameters.
Return values
string —the raw SQL that will not be additionally escaped or quoted.