How to find out select without Where in one application

Asked

Viewed 168 times

1

Guys I’m having a problem and I can’t identify at which point the Portable is doing a select without Where in a table with many records, someone can help me?

  • Have you tried debug? See if it helps: link 1 and link 2

  • So actually I don’t even know where it is being executed, we have 3 large projects that access a dabase and this query sporadically locks the bank. I have tried to search all queries referring to the model in the 3 projects but without success so far. Any suggestions? The query has sql_no_cache of eloquent Thank you for your prompt reply

  • Install Laravel-debugbar, it may help - https://github.com/barryvdh/laravel-debugbar

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.