Is there a way to get an attachment from a related object?
Example:
SELECT
RelatedObject__r.Id
, RelatedObject__r.OtherField
, (SELECT RelatedObject__r.Id FROM Attachments)
, ObjFieldOne__c
, ObjFieldTwo__c
FROM
CustomObj__c
Is this possible? Can't seem to find anything regarding this.