Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the options for queryOptions in the queryExecute function?

The online documentation for the new ColdFusion 11 function queryExecute is here:

https://wikidocs.adobe.com/wiki/display/coldfusionen/QueryExecute

    QueryExecute(sql_str, queryParams, queryOptions);

Does anyone have documention for all of the options for "queryOptions" for this function?

The only options listed are in the examples in the documentation:

    result
    datasource
    fetchclientinfo
    cachename

I'm only sure of "datasource" and what it is for. There must be others like "cachedwithin", "blockFactor", and the other options that can be used with <cfquery>.

like image 700
Scott Jibben Avatar asked Mar 19 '23 06:03

Scott Jibben


1 Answers

It is the same as cfquery:

blockFactor = "block size"
cachedAfter = "date" 
cacheID = "ID"
cacheRegion = "region"
cachedWithin = "timespan"
dataSource = "data source name"
dbtype = "query"
debug = "yes|no"
fetchClientInfo = "yes|no"
maxRows = "number"
ormoptions = #orm options structure# 
password = "password"
result = "result name"
timeout = "seconds"
username = "user name"

If you want to know what these do, check the docs for cfquery. I assume you were asking for the list, not what each of these mean since they are already documented.

like image 103
Raymond Camden Avatar answered May 01 '23 19:05

Raymond Camden