19 Apex Scenario | Parent to Child SOQL vs Map | Apex in Salesforce | Learn Salesforce Development

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 2021
  • studysalesforce.com/ [Find all Salesforce Video links]
    Udemy : Enroll Salesforce Admin Certification Masterclass : kadge.io/admin201
    Udemy : Enroll Salesforce PD1 Certification Masterclass : kadge.io/pd1
    Udemy : Enroll Salesforce Flow Builder Masterclass: kadge.io/flowbuilder
    For Online Individual or Group Training Please Email or Visit below Website.
    Email: sanjaygupta.techschool@gmail.com or
    Visit: studysalesforce.com/
    Connect with Sanjay Gupta:
    Linkedin: / sanjay-gupta-bb2a79bb
    Find Below: TH-cam Playlist Links for Salesforce Videos
    Salesforce Administrator (Lightning Experience) Video Series
    • 01 How to create Devel...
    LWC | Lightning Web Component
    • 01 LWC | Introduction ...
    Salesforce Flow Scenarios
    • 01 Screen Flow Scenari...
    Aura Component Development
    • 01 Introduction to Lig...
    Apex Programming | Apex Test | Async Apex in Salesforce
    • 01 Introduction to Ape...
    Salesforce Interview Preparation Videos
    • What is workflow rule ...
    Flow Builder in Salesforce Lightning Video Series
    • What is Flow Builder i...
    Apex Triggers in Salesforce
    • 01 Introduction to Ape...
    Asynchronous Apex in Salesforce
    • 01 Introduction to Asy...
    Process Builder in Salesforce Lightning Video Series
    • What is process builde...
    Workflow Rule in Salesforce Video Series
    • What is workflow rule ...
    Report & Dashboard in Salesforce Video Series
    • Introduction to Report...
    Data Security in Salesforce Video Series
    • Introduction to Data S...
    Please like and subscribe to support the efforts.
    #Salesforce #lightning #development #flow #admin #salesforceadmin #salesforcetraining #learnsalesforce #interview #salesforcedeveloper #developer #sanjaygupta #sanjayguptatechschool #studysalesforce #apex #trigger #integration #lwc #aura #lightningwebcomponent

ความคิดเห็น • 20

  • @SanjayGuptaTechSchool
    @SanjayGuptaTechSchool  2 ปีที่แล้ว

    For Online Individual or Group Training Please Email or Visit below Website.
    Email: sanjaygupta.techschool@gmail.com or Visit: studysalesforce.com/
    Connect with Sanjay Gupta on Linkedin: www.linkedin.com/in/sanjay-gupta-bb2a79bb/
    Udemy : Enroll Salesforce Flow Builder Masterclass: kadge.io/flowbuilder
    Udemy : Enroll Salesforce Admin Certification Masterclass : kadge.io/admin201
    Udemy : Enroll Salesforce PD1 Certification Masterclass : kadge.io/pd1
    Please like and subscribe to support the efforts.

  • @wbb566
    @wbb566 8 หลายเดือนก่อน +1

    A brilliant move to reduce time complexity, thank you sir.

  • @sheshankashahi2111
    @sheshankashahi2111 ปีที่แล้ว +1

    Finally I understand usage of Map...thank u so much sir

  • @guesswho6684
    @guesswho6684 2 ปีที่แล้ว

    Map accMap=new Map([select id, phone from Account where CreatedDate=THIS_YEAR]);

  • @aslambagwan6032
    @aslambagwan6032 2 ปีที่แล้ว

    Thanks

  • @asish681
    @asish681 2 ปีที่แล้ว

    Thanks for the video.. It's really helpful

  • @ShivamSangam-re6qn
    @ShivamSangam-re6qn ปีที่แล้ว +1

    I am in Salesforce domain from last 1 year but i never touch code yesterday my TL assigned me one task and I just gone through your 1-2 basic videos and 2-3 scenario videos ,now most of the things are crystal clear.. A big thanx to you 😊

  • @kguliyev1998
    @kguliyev1998 6 หลายเดือนก่อน +1

    Hello Sanjay. I have a question. Instead of initiating a new Contact record (conRec) inside the loop, and assigning the values to that, can't we just update the current Contact, and then update the conList at the end (instead of updating 'consToBeUpdated)? As following:
    con.Phone = accIdToAccountMap.get(con.AccountId).Phone
    This way we wouldn't need to create a new contact list and initiate a new contact record. Thank you

    • @SanjayGuptaTechSchool
      @SanjayGuptaTechSchool  6 หลายเดือนก่อน

      Just test this way as well if it works then perfectly fine.

    • @kguliyev1998
      @kguliyev1998 6 หลายเดือนก่อน

      @@SanjayGuptaTechSchool Thank you for the reply. I just ran this way, and it works.

  • @nehajamdade2983
    @nehajamdade2983 2 ปีที่แล้ว +1

    We are already fetching contacts from account map then why to check again contains key condition at line 20 11:35 ? Is it necessary

    • @SanjayGuptaTechSchool
      @SanjayGuptaTechSchool  2 ปีที่แล้ว +1

      Yes we can skip that condition but i just used it to show how to check keys available in map or not.

  • @shivakumarreddyp8764
    @shivakumarreddyp8764 2 ปีที่แล้ว +1

    Bro create playlist for this so that we can access easily

    • @SanjayGuptaTechSchool
      @SanjayGuptaTechSchool  2 ปีที่แล้ว

      Playlist link th-cam.com/play/PL-gW8Fj5TGro_a8irvZUZUKJdEpWIGMB8.html

  • @nowsathkhana533
    @nowsathkhana533 ปีที่แล้ว

    Sorry , not understand this.. why are we adding a comRec in a loop, and y create
    List contact conList = new List contact();
    Shall we directly call con phone replace acc phone ... Explain

    • @SanjayGuptaTechSchool
      @SanjayGuptaTechSchool  ปีที่แล้ว

      Actually we cannot perform DML operations in loop so we are creating a list and after completion of loop we can apply dml on list.

    • @nowsathkhana533
      @nowsathkhana533 ปีที่แล้ว

      @@SanjayGuptaTechSchool thanks