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
Anurag Reddy KanchimireddyAnurag Reddy Kanchimireddy 

bulkify my code

Can anyone please help me to bulkify this code. Im tired of doing this.
Anurag Reddy KanchimireddyAnurag Reddy Kanchimireddy
for (String c: cID) {
           for (string s: lang) {
         
           List <Translated_CaseComment_Detail__c > css2 = [Select id, document_id__c
                From Translated_CaseComment_Detail__c
                Where Case_Id__c =:id
                and Locale_Code__c=: s
                and Workflow__c =: selectedworkflow
                and CommentId__c =: c
                and project_id__c=:strProjectId
                ];
                       
           if(css2.size() ==0) {
            // Updating records when "lang" not present for a particular "cID" 
                                    }