Reputation: 353
I have this ColdFusion struct that I dumped:
I'm trying to drill into this farther to get the DTCREATED
variable.
This was generated from the following query:
gotResults = queryService.execute(sql="SELECT * FROM someTBL WHERE EXPORTID in
(#whereVariable#)" );
Can anyone tell me how to drill further into this ColdFusion struct?
Upvotes: 0
Views: 97
Reputation: 32885
Use gotResults.getResult().DTCREATED
.
gotResults.getResult()
returns a Query object, so just use .DTCREATED
(case-insensitive) to get to the column. It will return the value in the first row of that column by default.
Upvotes: 1