How to Manage an Open Source Project
Episode 18 - Simpler Queries With Global Scopes
Laracasts is packed full with over 1,000 lessons just like this one.
Sign up to get full access or
to your account and sit back.
It seems like, just about in all cases, when we fetch a collection of channels, they should exclude any archived records. What if we instead made that a global scope?
View the commit for this episode on GitHub.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!