cfscript loop query code example Example: cfscript loop query for (row in query) { writeOutput(query.currentrow); }