Returning CFQuery / Query Results As Arrays In Lucee 5.3.2.77

added by JavaScript Kicks
7/12/2019 12:40:24 PM

738 Views

Ben Nadel takes a quick look at the Query "returnType" attribute, which allows query results to be returned as an Arrays-of-Structs rather than as a database recordset. This is a small but exciting efficiency which allows member methods like .map(), .sort(), and .filter() to be called directly on the returned value from queryExecute() and the cfquery tag.


0 comments