Tag Archives: soql

Using SOQL Subquery to Count Child Records

Short post, just wanted to post a real world application of previous post I made, Subquerying in SOQL. I recently extended the Product2 object with an object that I would have LIKED to be a master-detail relationship, but since that … Continue reading

Tagged , , | 3 Comments

Salesforce SOQL Subquery and Custom Objects with Apex

Recently I was dealing with attempting to query a custom object and also its child custom object using a subquery.  The only place that the official Apex Language Reference mentions subqueries is in the Dynamic DML section, and it doesn’t … Continue reading

Tagged , , , , | 2 Comments