Add a new part to the expression.
Add a new part to the expression, but specific for field values
eg @field=(value1,value2,value3).
The field for which to create an expression (e.g.: @foo).
The operator to use e.g.: = (equal) == (strict equal) <> (not equal).
The values to put in the expression.
Add a new part to the expression, but specific for field values
eg : NOT @field==(value1, value2, value3).
The field for which to create an expression (e.g.: @foo)
The values to put in the expression.
Builds the expression string by combining all the parts together.
expression to join the different parts, default to a space.
Take another ExpressionBuilder
, and copy it.
array containing the differents parts of the expression
Checks if the builder is currently empty.
Removes an expression from the builder.
Merges several ExpressionBuilder
together.
Builders that should be merged.
Merges several ExpressionBuilder
together, using the OR operator.
Builders that should be merged.
An
ExpressionBuilder
that is mostly used by the QueryBuilder.It is used to build a single query expression.
It allows combining multiple expression parts into a single string and provides utilities to generate common expression parts.