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

Query functions

Last update:
May 18, 2026
FunctionDescription
GetMetaDataGets metadata (such as the methods, properties, and parameters of a component) associated with an object that is deployed on the ColdFusion server.
IsQueryDetermines whether a value is a query.
QueryAddColumnAdds a column to a query and populates its rows with the contents of a one-dimensional array.
QueryAddRowAdds a specified number of empty rows to a query.
QueryConvertForGridConverts query data to a structure that contains a paged subset of the query.
QueryDeleteColumnRemoves a column from a query object.
QueryDeleteRowRemoves a row from a query object.
QueryEachCalls each row of the query provided.
QueryExecuteExecutes a SQL query and returns the result.
QueryFilterCalls the provided function for each row of the provided query and removes the row from the query if the function returns false.
QueryGetRowReturns a struct having all the columns as keys and their corresponding values.
QueryGetResultReturns the metadata of a query.
QueryKeyExistsChecks the query for a column with the same name as the key provided.
QueryMapIterates over each row of a query and calls the closure function to work on row of the query.
QueryNewCreates a query object.
QueryReduceIterates over each row of a query and calls the closure function to work on the row of the query.
QuerySetCellSets a cell to a value. If no row number is specified, the cell on the last row is set.
QuerySortSorts a query where the sorting algorithm is passed at runtime in the form of closure.
QuotedValueListGets the values of each record returned from an executed query.
ValueArrayConverts the values of a column into an array.
ValueListInserts a delimiter between each value in an executed query.

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