Learn how to use Scopes in Laravel
We’ve covered “filtered” queries, meaning any query where we’re not just returning every result for a table. But every time we’ve written them so far in this chapter, it’s been a manual process using the query builder.
This post is submitted by one of our members. You may submit a new post here.