It takes a long time to loop over 1000 entries from my database in Laravel – Phpmyadmin
I am setting up an api end point that is responsible for getting movies from my database. I have a many to many relationship with genre. They are connected with a pivot table. I am trying to group all the…