function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
[Select Id, (Select Id From Children1__r) ,(Select Id From Children2__r) ,(Select Id From Children3__r) From Parent]
Select Id,Name ,(select id,name from child1__r),(select id,name from child2__r),(select id,name from child3__r), from parent__c
child API ,you can find from look field in detail object field and add __r after that.
Thanks,
Anil Savaliya
See here for more information on SOQL relationship queries: http://www.salesforce.com/us/developer/docs/dbcom_soql_sosl/Content/sforce_api_calls_soql_relationships.htm
To find the API name for the child relationships, here's a tip: