| @@ 83-89 (lines=7) @@ | ||
| 80 | * @param RecordCollection $collection |
|
| 81 | * @return Query |
|
| 82 | */ |
|
| 83 | public function getEagerQuery(RecordCollection $collection) |
|
| 84 | {
|
|
| 85 | $fkList = $this->getEagerFkList($collection); |
|
| 86 | $query = $this->newQuery(); |
|
| 87 | $query->where($this->getFK() . ' IN ?', $fkList); |
|
| 88 | return $query; |
|
| 89 | } |
|
| 90 | ||
| 91 | /** @noinspection PhpMissingParentCallCommonInspection |
|
| 92 | * @param RecordCollection $collection |
|
| @@ 426-433 (lines=8) @@ | ||
| 423 | * @param RecordCollection $collection |
|
| 424 | * @return Query |
|
| 425 | */ |
|
| 426 | public function getEagerQuery(RecordCollection $collection) |
|
| 427 | { |
|
| 428 | $fkList = $this->getEagerFkList($collection); |
|
| 429 | $query = $this->newQuery(); |
|
| 430 | $query->where($this->getWithPK() . ' IN ?', $fkList); |
|
| 431 | ||
| 432 | return $query; |
|
| 433 | } |
|
| 434 | ||
| 435 | /** |
|
| 436 | * @param RecordCollection $collection |
|