codemirror insert
This commit is contained in:
@@ -78,6 +78,7 @@ final class Query
|
||||
// ->toArray();
|
||||
|
||||
$formattedRecords = $this->formatRecords($resultsRecordsUnique, $resultChildrenEdges, $resultParentEdges);
|
||||
|
||||
$this->reset();
|
||||
return $formattedRecords;
|
||||
|
||||
@@ -94,7 +95,9 @@ final class Query
|
||||
$queryRecords = collect($records)->map(function ($recordData) {
|
||||
|
||||
$record = Record::fromDB($recordData);
|
||||
|
||||
$record->data = $this->inputFormatter->fill($record->schema, $record->data);
|
||||
|
||||
$queryRecord = QueryRecord::fromRecord($record);
|
||||
$queryRecord->isRoot = data_get($recordData, "isRoot") === true;
|
||||
return $queryRecord;
|
||||
|
||||
Reference in New Issue
Block a user