Closed Schop closed 4 years ago
Take a look at the writeable/cache
folder. I think OrmExtension has cached som old field data :)
You can either delete the cache files manually, or create a spark command to do it.
Use this code to clear the cache:
ModelDefinitionCache::getInstance()->clearCache();
Thank you, that fixed that problem!
Although the documentation says that relationship data is prefetched, I can't get it to work.
Working example from controller:
This actually does echo the Venue name, but this next example does not, although the documentation says it should: