You need to sign in to do that
Don't have an account?
RAMANJINEYULU GOGULA
Regarding dot notation
How can I retrieve object records using dot notation?
Please specify with examples for some standard or custom objects.
Please specify with examples for some standard or custom objects.
The Dot notation simply lets you traverse objects through relationships and fields.
Example: Custom objects can also participate in relationship queries where Daughter__c(child object) and Mother__c(parent object).
- When you use a child-to-parent relationship, you can use dot notation:
where Mother_of_Child__c is the lookup field nameExample: When we take the case of standard objects.
Also check the below links for reference:
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_lookup.htm
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/
http://developer.force.com/cookbook/recipe/using-relationship-queries
Hope this helps you!
Best Regards,
Deepthi
All Answers
Please go through some of the links below:
https://developer.salesforce.com/page/A_Deeper_look_at_SOQL_and_Relationship_Queries_on_Force.com
https://developer.salesforce.com/blogs/developer-relations/2013/05/basic-soql-relationship-queries.html
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_lookup.htm
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_and_custom_objects.htm
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_query_limits.htm
http://www.salesforcetutorial.com/relationship-queries-salesforce/
Please do let me know if it helps you.
Regards,
Mahesh
The Dot notation simply lets you traverse objects through relationships and fields.
Example: Custom objects can also participate in relationship queries where Daughter__c(child object) and Mother__c(parent object).
- When you use a child-to-parent relationship, you can use dot notation:
where Mother_of_Child__c is the lookup field nameExample: When we take the case of standard objects.
Also check the below links for reference:
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_lookup.htm
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/
http://developer.force.com/cookbook/recipe/using-relationship-queries
Hope this helps you!
Best Regards,
Deepthi