retrieveByPath in Java action will get the data from the database or association?

0
static List<IMendixObject> com.mendix.core.Core.retrieveByPath(IContext context,IMendixObject mxObject,String path,boolean isSelfAssociationChild ) Is this function gets the data from the association or from data base or it will get one time from data base later from association 
asked
1 answers
1

Hi Vijayakumar,

From the documentation it says it retrieves data from association first and then from the database if it's not available.

https://docs.mendix.com/refguide/objects-and-caching#5-1-actions-that-return-tracked-objects

Kind Regards,

answered