AnsweredAssumed Answered

How to use childRelationship in Apexdata

Question asked by cyber.ddp on Jul 9, 2018

I have ParentObject and ChildObject. Since I need to display the data in different format, I am using IApexDataSource. 

I am using inner query like Select id,name,datecreate, (select id,name, endInfo from ChildObjects__r) from ParentObject.

 

I am able to retrieve the data of ParentObject and added to the QueryResult.rows.add()

 

But How to retrieve Child Record data inside the  public Loop.ExternalData.QueryResultSet query(Loop.ExternalData.QueryRequestInfo requestInfo) method.

 

Any samples or links will be helpful.

 

Thanks.

Outcomes