改名
This commit is contained in:
@@ -207,6 +207,9 @@ class ActiveQuery extends Component implements ISqlBuilder
|
|||||||
public function all(): Collection|array
|
public function all(): Collection|array
|
||||||
{
|
{
|
||||||
$data = $this->execute($this->builder->all())->all();
|
$data = $this->execute($this->builder->all())->all();
|
||||||
|
|
||||||
|
var_dump($data);
|
||||||
|
|
||||||
$collect = new Collection($this, $data, $this->modelClass);
|
$collect = new Collection($this, $data, $this->modelClass);
|
||||||
if ($this->asArray) {
|
if ($this->asArray) {
|
||||||
return $collect->toArray();
|
return $collect->toArray();
|
||||||
|
|||||||
Reference in New Issue
Block a user