Open normatov07 opened 2 months ago
Why not just use FromQuery + WithMapping, it does the same as your example?
Why not just use FromQuery + WithMapping, it does the same as your example?
FromQuery, can I use this as lazy loading ? . I will test it later. For now I resolve it by FromCollection inter and prepareRows method.
Why not just use FromQuery + WithMapping, it does the same as your example?
Because FromQuery, although it chunks the jobs according to the query's count (AppendQueryToSheet), Close Sheet is not optimised / adjusted for that use, leading to memory allocation exhaustion.
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1
What version of Laravel are you using?
10.10
What version of PHP are you using?
8.2
Describe your issue
When I use generator with lazy model query. it gives some duplicate rows instead real rows. the count of rows is equal with real ones but real rows is lost and some rows become duplicate.