Consolidate any and all database queries in Core into repositories, not models
Closed this issue · 0 comments
mdlayher commented
All database interactions should be handled in the repository classes. Models are used for data storage, but should be able to delegate the task of sending/receiving information from the database to the repositories.
A lot of this is already done, but there are a few notable examples such as Playlist that could use some love.