Select Page

Admin

Blog

Admin

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

read more

collection

COLLECTIONS: like an arrayTo Store a group of values1.List2.Set3.Map LIST:List<data type> variable-name;When we have to assign the value to a variable, instantiate(allocating some memory) it   List&amp;amp;lt;data type&amp;amp;gt;...

read more

SOQL_Custom Objects

SOQL Joins Let's look at what we can do with this data with some familiar JOIN patterns borrowed from SQL. This time, however, we will utilize them in SOQL and also use the power of relationship traversal in path expressions that allow us to do joins implicitly. In...

read more

Query child-to-parent relationships

Query child-to-parent relationships, which are often many-to-one. Specify these relationships directly in the SELECT, FROM, or WHERE clauses using the dot (.) operator. For example: SELECT Id, Name, Account.Name, Account.Industry FROM Contact WHERE...

read more

Query parent-to-child

which are almost always one-to-many. Specify these relationships using a subquery (enclosed in parentheses), where the initial member of the FROM clause in the subquery is related to the initial member of the outer query FROM clause. Note that for standard object...

read more

Introduction to SOQL and SOSL

CHAPTER 1 Introduction to SOQL and SOSL If you’ve built a custom UI for Salesforce, you can use the Salesforce Object Query Language (SOQL) and Salesforce Object Search Language (SOSL) APIs to search your organization’s Salesforce data. This guide explains when to use...

read more