Activity Forums Salesforce® Discussions How can I generate a Set from a List structure in Salesforce?

  • vishnu

    Member
    September 12, 2016 at 7:53 am

    hi Pranav,

    you get set like this

    List listname=Databse.query(write your query);
    set setname=new set (new Map(setname).keyset());

    hope this helps

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos