Details
Assignee
Michael OffnerMichael OffnerReporter
Cameron ChildressCameron ChildressPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Cameron Childress
Cameron ChildressPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 6 June 2018 at 19:23
Updated 23 July 2022 at 10:13
I expect the output from the included code to be:
bar
Give
You
Up
What actually happens: It actually returns nothing. Perhaps cfcontinue in this setting does some sort of implied cfbreak?
<cfset myQry = queryNew( 'id,cat,name', 'integer,string,string', [ {"id":1, "cat":"foo", "name":"Never"}, {"id":2, "cat":"foo", "name":"Gonna"}, {"id":3, "cat":"bar", "name":"Give"}, {"id":4, "cat":"bar", "name":"You"}, {"id":5, "cat":"bar", "name":"Up"} ]) /> <cfloop query="#myQRY#" group="cat" > <cfif myQRY.cat eq 'foo'> <cfcontinue /> </cfif> <h2>#myQRY.cat#</h2><br/> <cfloop > #myQRY.name#<br/> </cfloop> </cfloop>