Returns the result of a sub query related to this record.
Records can have sub query results when the record is the result of a
relationship query.
Parameters: objectName - The object name of the sub query. Returns:
The result of a sub query related to this record.
Product Retirement Announcement
Salesforce Functions is no longer available for purchase or renewal. To preserve the capabilities that Salesforce Functions provided to your org, deploy an alternative solution before your existing order term ends. See Salesforce Functions Retirement for more information on migrating your functions. Contact your Salesforce Account Executive for more information on Heroku.