Commit 409eab13 by Qiang Xue

..

parent 4222c9d0
......@@ -296,4 +296,14 @@ class ActiveQuery extends BaseQuery implements \IteratorAggregate, \ArrayAccess,
}
unset($this->records[$offset]);
}
protected function findRecords($all = true)
{
$finder = new ActiveFinder($this->getDbConnection());
if (!empty($this->with)) {
return $finder->findRecordsWithRelations();
} else {
return $finder->findRecords($this, $all);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment