Performing DML Operations in Salesforce | Apex Class | Assigning SOQL Queries to Lists | Tutorial 10

Опубликовано: 20 Февраль 2026
на канале: Garg for Geeks
311
10

Hello Friends,This is Anirudh Garg
Welcome to the Tenth Video of Salesforce: Fundamental to Advance Course
Here I have depicted How to Perform DML Operations ( Insert, Update, Delete) in Salesforce after Assign Query results to List Collection
Indexing of List Elements Starts from O
Debugging the List Elements and List Size in Execute Anonymous Window

Salesforce Object Query Language(SOQL) in Salesforce is used to retrieve Salesforce Objects data from the Salesforce database for specific information. This video covers everything you need to know as a beginner to SOQL
In Upcoming Videos we will learn about Other Collections namely Maps, Sets and how to decide when to use a List, Map, Set assign query to map apex collections in salesforce apex in salesforce list in apex

Trailhead Signup Link 👇 https://trailhead.salesforce.com/

My Trailhead Profile Link 👇 https://trailblazer.me/id/anirudhgarg

You can connect with me on Linkedin as well 👇   / anirudhgargdelhi  

Salesforce Complete Course playlist 👇    • Salesforce ( From Scratch to Advance ) Com...  

Tutorial 1 Link    • Salesforce Developer Edition Free Sign up ...  
Tutorial 2 Link    • Introduction to Tabs, Objects, Fields, Rec...  
Tutorial 3 Link    • Creating New User in Salesforce Org | Assi...  
Tutorial 4 Link    • How to Create a New Profile by Cloning exi...  
Tutorial 5 Link    • How to create Permission Set in Salesforce...  
Tutorial 6    • How to Create Free Trailhead Account | Tra...  
Tutorial 7    • How to Query Salesforce Objects using SOQL...  
Tutorial 8    • What are Aggregate Functions in SOQL Queri...  
Tutorial 9    • How to Assign Query result to List Collect...  


Salesforce Developer Edition Account Free Sign up Video Link
   • Salesforce Developer Edition Free Sign up ...  

Stay tuned for upcoming videos where we will learn about each and every terminology of Salesforce in detail



IMPORTANT Links ⚠️ 👇

Signup for Salesforce developer edition using https://developer.salesforce.com/signup

Do Subsequent Logins using https://login.salesforce.com

Join Vidya Institute to get access to personalized support, early response to doubts 👇
   / @gargforgeeks  

Don't forget to Like, Comment and Subscribe Vidya Institute for upcoming salesforce videos updates 👇
https://www.youtube.com/c/VidyaInstit...

If u are still facing any doubt while doing hands on u can join our Whatsapp Group to get it cleared 👇
https://chat.whatsapp.com/Hn9Cop54zmZ...


Join 👇 our

Whatsapp Group - https://chat.whatsapp.com/Hn9Cop54zmZ...
Facebook Group :   / 2682764882009156  

Follow 👇Our

Facebook Page :   / vidyainstitutemaths  
Instagram Page :   / vidyainstitute_  
Twitter Handle :   / vidyainstitute_  

0:00 Subscribe for Latest Updatese
0:20 Creating the Query in developer console
0:52 Create Apex Class
1:11 Create Method inside Class
1:28 Syntax for Declaring a List
1:47 Assigning Query Result to Created List
2:10 Debugging the Size of List
3:10 What are DML Operations
3:30 Deleting Account Records using Delete DML Operation
4:00 Indexing of List starts from 0
4:50 Size of List and Number of Rows in query result will reduce by 1 on Deleting a item of List
5:10 Stay Tunned, u can Connect with me on Linkedin

#Salesforce #SOQL #DML #AnirudhGarg #VidyaInstitute #newuser #salesforcerelease #salesforceknowledge #salesforcehulk #salesforcetrailhead #salesforcedevelopers #salesforcehunt #salesforcelightning #salesforcedeveloper #salesforceadmin #trailhead #lightningexperience #classicexperience #salesforceclassic #administrator #administration #developer #salesforceadministrator #salesforcedev #assign #assigning #accesspoint #accesslevel #access #salesforceorg #trailblazer #salesforcelightningexperience #sfdc #freedeveloperedition #crmtool #crm #newusers #userlicense #customerrelationshipmanager #applaunch #applauncher #appexchange #Role #Profile #Permissionset #Permissionsets #linkedin #access #grantingaccess #profilepermission #tab #object #field #record #fieldlevelsecurity #salesfoceorg #trailblazers #trailblazermotivation #trailblazercommunity #trailblazermotivational #Sql #sqlserver #sqlqueries #Sql #structuredquerylanguage #query #aggregatefunction #bindvariable #Aggregate #aggregatefunction #aggregates #AggregateFunctions #Lists #map #set #collections #ListCollection #Collection #List #AggregateFunctions #DMLOperations #datamanipulation #datamanipulationlanguage #DMLOperation #insert #update #delete #ddl #datadefinationLanguage #indexing #listindexing #indexoflist #listitem #syntax