Database.insert | update | Database.update | Upsert | Database.upsert | delete | Database.delete | Undelete | Database.unde#SalesforceDML #CRUD #PassDynamicValue by Swapna @Swapna Salesforce
Apex Programming Session Links
*(Apex Program to Enable CRUD Operations, Atomic Non Atomic DML, Insert, Database.insert, update, Database.update, Upsert, Database.upsert,
delete, Database.delete, Undelete, Database.undelete, merge, Database.merge, Pass Dynamic Value)
09.
*(SOQL Construct, Usage, Select, Order by, Where, Operators, Limit)
08. • Salesforce Apex 15 | SOQL Construct | Usag...
(For Loop, Syntax, Primitive Data Type, Collection Data Type, Set, List)
07. • Salesforce Apex 14 | For Loop | Syntax | P...
(Datatypes, Primitive, Sobject, Collection, Enumeration, Variables, Local, Instance, Class, Constant, Assignment, Statements, Expressions, Loops, Do While, While, For)
06. • Salesforce Apex 13 | Datatypes | Primitive...
*(Salesfoce Map, Declare Map, Map Datatype, Difference Between Set, List, Map, Map Size, Map Values, Map Keys, Add New Key and Value in Map,
Remove Specific Key and Value in Map, If Condition, Enum)*
05. • Salesforce Apex from Scratch 12 | Salesfor...
*(Set, List, Map, Map(set,set), Map(list,list), Map(list,set), Map(set,list), Set(Integer), List(String), Methods in Map, Map.Keyset, Map.Values,
Map.Size, Map.Put, Map.Get, Map.Remove, System.Debug)*
04. • Salesforce Apex from Scratch 11 | Set, Lis...
(Set, List, Map, add(), size(), remove(), empty(),clone(), clear(), tostring(), system.debug, boolean,)
03. • Salesforce Apex 10 | Learn Apex from Scrat...
(Debug Apex Program, Primitive, Sobject, Collection, List)
02. • Видео
(Salesforce Apex, Learn Apex from Scracth, Features, Constructs, Data types)
01. • Видео
*****
Salesforce #Visualforce #Programming Session Links(01-07)
(Places to use Visualforce Page, Tab, Button, Link, Page Layout, Email Template Letterhead, Object Help, inline, External, Class Style,css)
07. • Salesforce Visualforce 07 | Places to use ...
06. • Salesforce Visualforce 06| Upload images t...
05. • Salesforce Visualforce 05| inputHidden | i...
04. • Salesforce Visualforce 04| Program Executi...
03. • Salesforce Development 03| Visualforce | O...
02. • Salesforce Development 02| Visualforce Usa...
(Salesforce Development Overview, Visualforce Introduction)
01. • Salesforce Development 01| Development Ove...
*****
Notes
Development:
SOQL
For- SOQL
DML (Data Manipulation Language)
CRUD Operation (Create, retrive,update and Delete)
Apex Program that enables developer to perform CRUD Operation
2 Types of DML statements
Atomic DML
Non-Atomic DML
Atomic Non-Atomic
DML statements Database class Methods
insert -500 Database.insert() -500
update Database.update()
upsert Database.upsert()
delete Database.delete()
undelete Database.undelete()
merge Database.merge()
//For - for SOQL Statement
ListAccount accList = [Select Name,phone,Fax, Industry, Rating,Billingcity From Account];
System.debug(accList.size());
//=: -- Single Value
//IN: -- multiple value
string searchName='Loop Technology_1908';
string searchName1='111111';
setString setserach = new setString();
setserach.add (searchName);
Parameter : string
Account -Contact
Id IN : setId
ListContact accContactList =[select Id,AccountId from Contact where AccountId IN:[Select Id From Account]];
system.debug(accContactList.size());
ListAccount updateAccount= new ListAccount();
for(Account acc: [Select Name,phone,Fax, Industry, Rating,Billingcity From Account where Name =:searchName and phone=:searchphone])
system.debug('new For loop =='+acc);
//acc.Phone=1231Ab;
//updateAccount.add(acc);
//Database.
for(Account acc:accList)
system.debug(acc);
***
Assignement :
01.Write Apex Program that enables developer to perform CRUD Operations
02.Pull Account records where Industry has Banking information and loop through each record get the total count of Accounts
03.Get all opportunities alongs Account information
04.Get all Opportunity , related Contact Name as well related Account Name, industry, Opportunity-- contact -- account
05.Get opportunity products for each opportunity
06.Get Account Contact Relationship records based on account Id
***
Interview Questions :
01.What is CRUD operation ?
02.What is DML ?
03.What are different types of DML's ?
04.What is Atomic DML ?
05.What are different types of Atomic DMLs?
06.What is Non-Atomic DML ?
07.What are different types of Non Atomic DMLs?
08.Explain insert?
09.Explain Database.insert()?
10.Explain update?
11.Explain Database.update()?
12.Explain upsert?
13.Explain Database.upsert()?
14.Explain delete?
15.Explain Database.delete()?
16.Explain undelete?
17.Explain Database.undelete()?
18.Explain merge?
19.Explain Database.merge()?
20.How to pass dynamic value (single value , multiple Values) to SOQL ?
21.What is the difference between writing SOQL outside of loop and Writing the SOQL within the loop?
22.Can CRUD operation performed with in th loop & Why ?
***lete | merge | Database.merge | Pass Dynamic Value | @ +919662460161
Информация по комментариям в разработке