Activity Forums Salesforce® Discussions How to query Custom setting in Apex in Salesforce?

  • Anjali

    Member
    September 4, 2020 at 10:11 am

    You can query them like custom objects.Suppose you have a custom setting named as 'Custom_Setting__c' .So if you want it in your class then query it like [SELECT id, Name FROM Custom_Setting__c].

  • Ayush

    Member
    September 7, 2020 at 12:26 pm

    SELECT id, Name FROM Custom_Setting__c,,

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos