Does anybody know what the syntax is for enabling ...
# lucee
q
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
Did you try
{ cacheable=true }
as the 3rd parameter?
q
I did. That's what throws the construct error.
well, anything I put in the 3rd param throws that error. It's almost like it wasn't overloaded to allow it.
As Gert mentioned during his CF preso, I'm fairly confident that I'm one of like 4 people that uses the ORM features.