Adds a query to the beginning of the current query.
queryPrepend(query1, query2)
→ returns query
qry.prepend(query2)
Add new query to the end of the current query using queryPrepend.
names = queryNew("empl_id,name", "integer,varchar", [["empl_id"=1239,"name"="John"]]);
newnames = queryNew("empl_id,name", "integer,varchar", [["empl_id"=1501,"name"="Jane"]]);
queryPrepend(names, newnames);
writeDump(names);
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.