Returns the count sub-query for a relation, used for relation filters (whereHas in the DataModel).
public getCountSubquery ( string $name, string $tableAlias = null ) : JDatabaseQuery | ||
$name | string | The relation to get the sub-query for |
$tableAlias | string | The alias to use for the local table |
Результат | JDatabaseQuery |