Whatever message this page gives is out now! Go check it out!

IsQuery

Last update:
May 18, 2026

Description

Determines whether value is a query.

Returns

True, if_ value_ is a query.

Category

Syntax

IsQuery(value)

Parameters

ParameterDescription
value
Query variable

Example

<cfscript>
    myQuery = queryNew("id,name,amount","Integer,Varchar,Integer", 
                [ 
                        {id=1,name="One",amount=15}, 
                        {id=2,name="Two",amount=18}, 
                        {id=3,name="Three",amount=32} 
                ]); 
    writeOutput("Is myQuery a query object? ")
    writeOutput(IsQuery(myQuery))
</cfscript>
Output
Is myQuery a query object? YES

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page