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
Rohit B ☁Rohit B ☁ 

Why should we query on Custom Setting (List Type) instead of getValues()

Hello Community,
I was thinking about this and screwed my mind but didn't get the appropriate answer. Can anyone help me in understanding this?
I would like to know the best or appropriate use case where we need to query list type of custom setting rather than provided getValues() function.

Thanks in advance..
Lokesh KumarLokesh Kumar
HI Rohit,

For you question you can refer the below link.

http://salesforce.stackexchange.com/questions/36393/custom-setting-getall-versus-soql

Thanks !