Skip to content
Akhil Kulkarni

Akhil Kulkarni

Salesforce Blog

  • Home
  • Blog
  • Interview Questions
  • Contact

Tag: MAP in Apex

Salesforce Basic

APEX: SOQL to MAP of sObject

August 22, 2022 Akhil KulkarniLeave a comment

Usually in trigger, we work on updating related lists we end up querying sObject and looping over it. Or we also make a MAP from that list of records which will create lots of loops and iterations. To avoid this. Salesforce provide us with a simple feature where you can write a SOQL query and return MAP directly.

Continue reading “APEX: SOQL to MAP of sObject” →

Rate this:

Search in this blog

Top Posts

  • Calling Apex Method with Parameters from a Lightning Web Component
  • LWC: Custom picklist using lightning-combobox
  • How to get Picklist value in Formula Field.
  • LWC: Lightning-Combobox required field validation on submit button
  • LWC: Clicking a button from a JavaScript Method.
  • Different ways to Reset Password in Salesforce
  • LWC: How to create Lightning Message Channel?
  • Apex Class, Variables, Constructor & Methods in Salesforce.
  • Lightning Web Component using lightning-record-edit-form
  • APEX: SOQL to MAP of sObject

Recent Posts

  • APEX: SOQL to MAP of sObject
  • APEX: How to check if ORG is Sandbox or Production
  • AURA: Updated URL Parameter Value in JS File
  • LWC: Lightning-Combobox required field validation on submit button
  • AURA: Clear cache while loading a Lightning Component.
April 2023
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
« Aug    

Blog Stats

  • 171,146 hits

Categories

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 205 other subscribers

Follow me on Twitter

My Tweets
Create a website or blog at WordPress.com
  • Follow Following
    • Akhil Kulkarni
    • Already have a WordPress.com account? Log in now.
    • Akhil Kulkarni
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar