What is the difference between these two options on a select filter?
I've seen this done both ways but unsure which to use?
vs
vs
Solution
you dont need
->all() at allall if you have some operations on the collection like filtering or additions etc