DEV Community

Discussion on: 3 simple tips to improve your Laravel code today

Collapse
 
danrichards profile image
Dan Richards

Thanks for demonstrating usage of collection. Now try it with just a raw query and an aggregate, you'll end up with less code, and your server's CPU and memory will thank you. 😃