how to access child records from parent using SOQL (Nested Queries) in salesforce
Using relationship queries, we can retrieve the related objects data using the SOQL query.
Use SOQL to query several relationship types.
- Query child-to-parent relationships
- Query parent-to-child
- Traverse the parent-to-child relationship as a foreign key in an aggregate query
- Traverse the parent-to-child relationship in an aggregate query
To know more details about Relationship Queries click here
How to write a Cross-object (Nested Queries) SOQL query from Parent to child, Retrieve the related list values and display on Lightning Component in Salesforce
âž¡ Get Source Code Live Demo Link Click Here
0 Comments