lazy collections for exports

This commit is contained in:
denisdulici
2020-03-02 23:13:36 +03:00
parent 0842803777
commit 5cd396f123
18 changed files with 18 additions and 18 deletions

View File

@ -15,7 +15,7 @@ class BillTransactions extends Export
$model->whereIn('document_id', (array) $this->ids);
}
return $model->get();
return $model->cursor();
}
public function map($model): array