mpociot / teamwork

User to Team associations with invitation system for the Laravel 5 Framework
MIT License
1.07k stars 170 forks source link

Was still making multiple queries. Fixed now. #69

Closed codedninja closed 6 years ago

codedninja commented 7 years ago

Sorry about that, after more testing through my current app after I did a composer update and still was doing it. Fixed now.

Learned something new though, If you are doing multiple where's on a collection of a model it will query the database. If it's just one it will search the collection for it.

sschlein commented 6 years ago

Closed due to inactivity.