Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function getRelationExistenceQueryForSelfJoin(Builder $query, Builder $parentQuery, $columns = ['*']) |
||
26 | { |
||
27 | $query->select($columns); |
||
28 | |||
29 | $query->from($this->related->getTable().' as '.$hash = $this->getRelationCountHash()); |
||
|
|||
30 | |||
31 | // $this->related->setTable($hash); |
||
32 | |||
33 | $this->performJoin($query); |
||
34 | |||
35 | return parent::getRelationExistenceQuery($query, $parentQuery, $columns); |
||
36 | } |
||
38 |