CFLint icon indicating copy to clipboard operation
CFLint copied to clipboard

new rules: AVOID_QUERY_IN_LOOP

Open Vintic opened this issue 6 years ago • 1 comments

AVOID_QUERY_IN_LOOP, It's not a good practice to query a DB inside loop like <cfloop> and <cfoutput query='query'> - that increase load to DB and response time. https://codeutopia.net/blog/2010/10/07/optimizing-sql-removing-queries-inside-loops/

Vintic avatar Oct 22 '19 10:10 Vintic

These two rule suggestions should be separate issues.

KamasamaK avatar Mar 07 '20 03:03 KamasamaK