class SqlExpressionVisitor extends ExpressionVisitor (View source)

Visit Expressions and generate SQL WHERE conditions from them.

Methods

__construct(BasicEntityPersister $persister, ClassMetadata $classMetadata)

No description

mixed
walkComparison(Comparison $comparison)

Converts a comparison expression into the target query language output.

mixed
walkCompositeExpression(CompositeExpression $expr)

Converts a composite expression into the target query language output.

mixed
walkValue(Value $value)

Converts a value expression into the target query language part.

Details

__construct(BasicEntityPersister $persister, ClassMetadata $classMetadata)

Parameters

BasicEntityPersister $persister
ClassMetadata $classMetadata

mixed walkComparison(Comparison $comparison)

Converts a comparison expression into the target query language output.

Parameters

Comparison $comparison

Return Value

mixed

mixed walkCompositeExpression(CompositeExpression $expr)

Converts a composite expression into the target query language output.

Parameters

CompositeExpression $expr

Return Value

mixed

Exceptions

RuntimeException

mixed walkValue(Value $value)

Converts a value expression into the target query language part.

Parameters

Value $value

Return Value

mixed