+ Start a Discussion
md inayatmd inayat 

1.can we write a soql query with in a getter method in an extension class?

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi  MD Inayat,

May I suggest you please refer the below link for reference. Hope it will be helpful.

Please mark it as best answer if the information is informative.

Best Regards
​Rahul Kumar