How to Manage an Open Source Project
Episode 18 - Simpler Queries With Global Scopes
Laracasts is packed full with over 1,500 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.
Published on Feb 1st, 2018.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!