HumHub Documentation (unofficial)

ConjunctionConditionBuilder
in package
implements ExpressionBuilderInterface uses ExpressionBuilderTrait

Class ConjunctionConditionBuilder builds objects of abstract class [[ConjunctionCondition]]

Tags
author

Dmytro Naumenko d.naumenko.a@gmail.com

since
2.0.14

Table of Contents

Interfaces

ExpressionBuilderInterface
Interface ExpressionBuilderInterface is designed to build raw SQL from specific expression objects that implement [[ExpressionInterface]].

Properties

$queryBuilder  : QueryBuilder

Methods

__construct()  : mixed
ExpressionBuilderTrait constructor.
build()  : string
Method builds the raw SQL from the $expression that will not be additionally escaped or quoted.
buildExpressionsFrom()  : array<string|int, string>
Builds expressions, that are stored in $condition

Properties

Methods

build()

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

public build(ExpressionInterface|ConjunctionCondition $condition[, array<string|int, mixed> &$params = [] ]) : string
Parameters
$condition : ExpressionInterface|ConjunctionCondition

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.


        
On this page

Search results