class TrueConditionGenerator implements SqlGeneratorInterface (View source)

A SQL generator to create a condition matching anything.

Methods

string
getSql(SQLFilter $sqlFilter, ClassMetadata $targetEntity, string $targetTableAlias)

Returns an SQL query part that is basically a no-op in order to match any entity

Details

string getSql(SQLFilter $sqlFilter, ClassMetadata $targetEntity, string $targetTableAlias)

Returns an SQL query part that is basically a no-op in order to match any entity

Parameters

SQLFilter $sqlFilter
ClassMetadata $targetEntity

Metadata object for the target entity to create the constraint for

string $targetTableAlias

The target table alias used in the current query

Return Value

string