Salesforce SOQL Date Literals

Todays PD1 study had me reviewing SOQL. Most of the review was around things I already know and employ regularly, except for one thing – Date Literals. A fieldExpression can use a date literal to compare a range of values to the value in a date or dateTime field. Each literal is a range of time beginning with midnight (00:00:00). To […]

Apex Array Notation & List Elasticity

Continuing my PD1 study of data types from yesterday, today’s topic surrounded collections. I was aware of the ability to use array notation for lists, but I didn’t realize that using brackets to add values to a list ignores that list’s elasticity. … lists are elastic and can grow as needed provided that you use […]

sObject Empty Strings and Trailing Whitespace

Today’s PD1 study involved Apex data types. While I’ve been writing code for a while and have a good grasp on general constructs, the completionist in me hates skipping topics (it seriously gives me anxiety). While reviewing subjects that have been a part of your daily life – for like ever – can be a […]