Can you give more information about your database structure? That can help in giving the answer.
ps. I have updated your post to set the return in a code block.
Hi tvbeek, Thanks !! Here is my database structure kindly have a look. I need something from eloquent, query builder and loops make process slow.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.