John version 0.4 is ready.

Usage is more simple now:
...
        function forwardLoop(itr) {
                writeOutput("<p>");
                do {
                        writeOutput("#itr.getCurrentRow()#.
#itr.getColumn("LABEL")#<br />");
                } while (itr.moveNext());
                writeOutput("</p>");            
        }
        
        function backwardLoop(itr) {
                writeOutput("<p>");
                do {
                        writeOutput("#itr.getCurrentRow()#.
#itr.getColumn("LABEL")#<br />");
                } while (itr.movePrevious());
                writeOutput("</p>");
        }
...

What are your thoughts? Can we release this?
Murat.


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Murat Demirci
> Sent: Saturday, February 26, 2005 11:40 AM
> To: [email protected]
> Subject: RE: [CFCDev] query object CFC Beta
> 
> I think this is the most performant version and it only does 
> iteration. I
> don't add exception throwing for getColumn since it causes to 
> check the
> columnName everytime which might decrease performance.
> 
> However we can add exception throwing for other methods like 
> move.. and
> set.. methods, they don't affect performance.
> 
> Any thoughts?
> Murat.
> 
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email 
> to [email protected] with the words 'unsubscribe cfcdev' as 
> the subject of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported by 
> CFXHosting (www.cfxhosting.com).
> 
> An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

Attachment: TestQueryIterator.cfm
Description: Binary data

Attachment: QueryIterator.cfc
Description: Binary data

Reply via email to