Monthly Archives: September 2013

The Secret Life of an SObject: Equality, Sets and Maps

Equality When testing for equality between sObjects in Apex, it is the sObjects’ properties – the values of the sObjects’ fields – which are compared. So two separate sObject instances that have the same field values are considered equal: But, if … Continue reading

Posted in Documentation | Tagged , , | 6 Comments