I need all reports with all officers included in the participants column.
please check the attached image.
You should really have a participant
pivot table with report_id
and officer_id
, and create proper relationships.
What you're asking for is possible through loops and lazy loading, but it will be extremely slow and unoptimized.