The Query Builder Now Returns Collections

Episode 2 Run Time 2:46

We're still taking it slow. What kind of series would it be if we discussed the coolest additions first? up, we have a small, but important change to be aware of. As of 5.3, all query builder calls will return collection objects, rather than arrays. If you think about it, this will make the general Laravel API more consistent, as relevant Eloquent calls already return collection objects.

Publish Date: July 27, 2016