Select Page

Apex

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 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...

Day One

Day One

Data Types In Apex, all variables and expressions have a data type, such as sObject, primitive, or enum. A primitive, such as an Integer, Double, Long, Date, Datetime, String, ID, or Boolean (see Primitive Data Types) An sObject, either as a generic sObject or as a...