function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Venkata Sravan Kumar BandariVenkata Sravan Kumar Bandari 

SOQL: how to get attachments from attachement object

i want to retrieve the attachments of SObject Account and also i was created a custom field(checkbox) named as is_read__c. 
Now, using SOQL is it possible to get attachments of Account from attachment SObject where condition is is_read__c = true
kiranmutturukiranmutturu
You can the respective object attachments like 

Select Id From Attachment where ParentId = 'record id'