Laravel tip:

If you use `whereHas()` and then eager load the same relationship with the same condition, you might be duplicating logic.

`withWhereHas()` keeps it cleaner.
image

10

  • No matching results...
  • Searching...

/ 1000