0 votes
in Laravel by
What is query scope?

1 Answer

0 votes
by

It is a feature of Laravel where we can reuse similar queries. We do not require to write the same types of queries again in the Laravel project. Once the scope is defined, just call the scope method when querying the model.

...