class FalseConditionGenerator implements SqlGeneratorInterface (View source)

A SQL generator to create a condition matching nothing.

Methods

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

Returns an SQL query part that is basically a no-op in order to match no 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 no 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