Does anybody know what the syntax is for enabling caching on the EntityLoad() function? Docs seem a bit vauge, and there aren't a ton of Lucee specific examples out there. CF examples throw a "Construct" error. From what I can tell, the 3rd parameter should be an object with cacheEnabled=true.
c
cfsimplicity
10/09/2023, 11:23 AM
Did you try
{ cacheable=true }
as the 3rd parameter?
q
quetwo
10/10/2023, 6:38 PM
I did. That's what throws the construct error.
quetwo
10/10/2023, 6:39 PM
well, anything I put in the 3rd param throws that error. It's almost like it wasn't overloaded to allow it.
quetwo
10/10/2023, 6:40 PM
As Gert mentioned during his CF preso, I'm fairly confident that I'm one of like 4 people that uses the ORM features.