addFilterConstraint()
addFilterConstraint(\Pivot\Database\Filters\ClassMetaData $targetEntity, string $targetTableAlias) : string
Gets the SQL query part to add to a query.
Parameters
| \Pivot\Database\Filters\ClassMetaData | $targetEntity | |
| string | $targetTableAlias |
Returns
string —The constraint SQL if there is available, empty string otherwise.