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
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.
A brilliant move to reduce time complexity, thank you sir.
Finally I understand usage of Map...thank u so much sir
Glad to hear that
Map accMap=new Map([select id, phone from Account where CreatedDate=THIS_YEAR]);
Thanks
Thanks for the video.. It's really helpful
Thank you 🙏
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 😊
Glad that videos helped you to understand the concepts.
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
Just test this way as well if it works then perfectly fine.
@@SanjayGuptaTechSchool Thank you for the reply. I just ran this way, and it works.
We are already fetching contacts from account map then why to check again contains key condition at line 20 11:35 ? Is it necessary
Yes we can skip that condition but i just used it to show how to check keys available in map or not.
Bro create playlist for this so that we can access easily
Playlist link th-cam.com/play/PL-gW8Fj5TGro_a8irvZUZUKJdEpWIGMB8.html
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
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.
@@SanjayGuptaTechSchool thanks