
[select id, DetailObjField__c from DetailObj__c where Master__c=:MasterId]
OR
[select id,(select DetailObjField__c from DetailObj__r) from Master__c where Master__c.id=:MasterId]
4 respuestas
For a more in depth discussion and assistance with programming related questions, visit developerforce.com (https://developer.salesforce.com).
This Answers Community is focused on configuration and design questions. Programmatic questions are best submitted to the developer forums at https://developer.salesforce.com where the forums and participants are geared toward programming troubleshooting and support.