Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 658 Bytes

ReferenceFieldComparator.md

File metadata and controls

36 lines (23 loc) · 658 Bytes

ReferenceFieldComparator Class

Comparator for two reference fields, checks if they reference the same object

Since

3/23/2024

Group Soql Engine

Author Zackary Frazier

Implements

Comparator<Schema.SObjectField>

Methods

compare(field1, field2)

Compares two reference fields to see if they reference the same object

Signature

public Integer compare(Schema.SObjectField field1, Schema.SObjectField field2)

Parameters

Name Type Description
field1 Schema.SObjectField
field2 Schema.SObjectField

Return Type

Integer

,[object Object]