children optimization
This commit is contained in:
1 parent
f70815c335
commit
9b5f124081
2 files changed
+2
-4
No files matched your search
+1
-3
@@ -47,7 +47,6 @@ final class Query
|
||||
public function run(): Graph
|
||||
{
|
||||
$resultsRecords = $this->mainQuery();
|
||||
|
||||
$ids = array_map(function ($rec) {
|
||||
return $rec->id;
|
||||
}, $resultsRecords);
|
||||
@@ -183,8 +182,7 @@ final class Query
|
||||
}
|
||||
|
||||
|
||||
public
|
||||
function limit(int $limit): Query
|
||||
public function limit(int $limit): Query
|
||||
{
|
||||
$this->options->limit = $limit;
|
||||
return $this;
|
||||
|
||||
Reference in new issue
Block a user