Tag Archives: tips and tricks

SQLForce: an option for Select Distinct in Salesforce

Today I was trying to get a list of distinct values in a field in Salesforce having a certain criteria. If SOQL supported ‘select distinct’, this could be accomplished quite trivially. Of course you can’t do ‘select distinct’ with the … Continue reading

Tagged , , , , , | 1 Comment

Apex Inline List and Map Definition

I’m making this post because, frankly, I always forget the syntax. There’s a long-form way to define a List or String in apex, and there’s also an equivalent short-form way to define a List or String variable inline. Here’s the … Continue reading

Tagged , , | Comments Off