-
Notifications
You must be signed in to change notification settings - Fork 0
The MockDuplicates.DiffType Enum
GitHub Action edited this page Nov 11, 2025
·
1 revision
Represents the possible field difference values in duplicate detection results.
This enum corresponds to the Datacloud.FieldDiff.difference property values as documented in the Salesforce Datacloud.FieldDiff documentation.
-
IS_DIFFERENT- Indicates the field value is different between the original and matching record -
IS_NULL- Indicates the field value is null in one of the records -
IS_SAME- Indicates the field value is the same in both records
matchRecord.addFieldDiff('Name', MockDuplicates.DiffType.IS_SAME);- Generating Test Records
- Dml
- Soql
- Cmdt
- Duplicates
- Plugins
- DatabaseLayer
- Dml
- MockDml
- MockRecord
- Cmdt
- MockCmdt
- Duplicates
- MockDuplicates
- MockSoql
-
Soql
- Soql.AggregateResult
- Soql.Aggregation
- Soql.Binder
- Soql.Builder
- Soql.Condition
- Soql.ConditionalLogic
- Soql.Criteria
- Soql.Cursor
- Soql.Function
- Soql.InnerQuery
- Soql.InvalidParameterValueException
- Soql.LogicType
- Soql.NullOrder
- Soql.Operation
- Soql.Operator
- Soql.ParentField
- Soql.PreAndPostProcessor
- Soql.QueryLocator
- Soql.Request
- Soql.Scope
- Soql.Selectable
- Soql.SortDirection
- Soql.SortOrder
- Soql.Subquery
- Soql.TypeOf
- Soql.Usage
- Soql.WhenClause