coldfusion - Dynamically adding column -


sometimes need add column empty table

if (listfind(arguments.config[3], "payout"))    {     queryaddcolumn(local.qryresult, "payout", "cf_sql_float");     } 

i error looks like

enter image description here

it seems want java.util.list

isn't "cf_sql_float" single element list?

the documentation guide. need array name. use arraynew(). should trick.

queryaddcolumn(local.qryresult, "payout", "cf_sql_double", arraynew(1)); 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -