Activity Forums Salesforce® Discussions In what condition we should use the set or list in SOQL in saleforce?

  • Ajit

    Member
    September 30, 2016 at 1:39 pm

    Hi Mohit,

    It depends on the need, when you know that you can have duplicate values and you don not want all the values including the duplicate then Set should be used. And list can be used to  only store values.

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos