Determines whether a value is a query.

isQuery(value) → returns boolean

Argument Reference

value string

Sample code invoking the isQuery function

names = queryNew( 'name','varchar' );
queryAddRow( names );
querySetCell( names,'name','Seth' );
queryAddRow( names );
querySetCell( names,'name','Jen' );
if( isQuery( names ) ) {
   writeOutput( valueList( ) );

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub