3
Good morning I need to find where in Cakephp 2.5.2 this query is performed:
SELECT COUNT(*) AS count FROM umatabela WHERE status = 1
Has a model where this table is referenced, and may be referenced in other places.
By Debugkit I am running all possible locations and can not find.
There would be a better way to track, than to look for models or run each script and look at debugkit?
Are you paging? Paging components perform select with COUNT to pick the total amount.
– Euler01
I imagine having no option the worst that is on top of a view from there gets slower . I imagine just force more search criteria . Just do not find in debugkit maybe for being an internal query that cake does not appear in debugkit then
– Ângelo Rigo
Partner... are you sure this is what the query looks like??? if you have, you can use your IDE’s own search (if you use one)... just Ctrl + H type this query into the field and ask to search throughout your project.
– Thomas Lima