Open davide-casiraghi opened 4 years ago
With Laravel 6.0 Lazy Collections has been introduced. They can help to improve DB query performances if we rewrite the query that are more resource consuming.
https://laracasts.com/series/whats-new-in-laravel-6/episodes/1
https://laravel.com/docs/6.x/collections#lazy-collections
https://stackoverflow.com/questions/17483806/what-does-yield-mean-in-php/43596097#43596097
With Laravel 6.0 Lazy Collections has been introduced. They can help to improve DB query performances if we rewrite the query that are more resource consuming.
https://laracasts.com/series/whats-new-in-laravel-6/episodes/1
https://laravel.com/docs/6.x/collections#lazy-collections
https://stackoverflow.com/questions/17483806/what-does-yield-mean-in-php/43596097#43596097