Blog
Admin
DML – Data Manupulation Language
Insert Update Upsert Delete Undelete DML Examples public class DMLExamples { //insert demo public static void insertdemo(){ list<Account> accList= new list<Account>(); for ( integer i=0;i<160;i++) { Account a= new Account(); a.Name='DML160R';...
Collections in Apex
Lists A list is an ordered collection of elements that are distinguished by their indices. List elements can be of any data type—primitive types, collections, sObjects, user-defined types, and built-in Apex types. Sets A set is an unordered collection of elements that...
Day Five
SOSL Salesforce Object Search Language (SOSL) is a Salesforce search language that is used to perform text searches in records. Use SOSL to search fields across multiple standard and custom object records in Salesforce. SOSL is similar to Apache Lucene. Adding SOSL...
Day Four
Day Three
SOQL DISPLAY LIST OF ACCOUNTS ---------------------------------------------- LIST<ACCOUNT> LISTACC; LISTACC=NEW LIST<ACCOUNT>(); LISTACC=[SELECT NAME,ID,TYPE,SITE FROM ACCOUNT ]; FOR(INTEGER I=0;I<LISTACC.SIZE();I++) { SYSTEM.DEBUG(LISTACC[I]); }...
Day Two
Collections Collections in Apex can be lists, sets, or maps. There is no limit on the number of items a collection can hold. However, there is a general limit on heap size. ListsA list is an ordered collection of elements that are distinguished by their indices. List...
Recent Comments