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
Vishnu Bijjula 4Vishnu Bijjula 4 

Use FieldSets value dynamically on WHERE clause(SOQL Query).

I need to control the FieldSets in WHERE clause. For instance in Account Fieldset added name and type field, I need to control this on WHERE clause in SOQL dynamically like "SELECT id from ACCOUNT where name=(Account Fieldset Name Value) and type=(Account Fieldset Type Value)".
Thank you in Advance!
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Vishnu,
I hope it will be helpful.

Best Regards
Rahul Kumar