Private ReadonlydistinctPrivate ReadonlyloggerPrivate ReadonlylookupPrivate ReadonlynamespacePrivate ReadonlyrecordPrivate ReadonlysalesforcePrivatebuildOptionalfields: K[]PrivatebuildLookup filter
Sorted list of the filter's field names
PrivatebuildBuild the matching key for a queried record using the given fields; mirrors buildFilterMatchKey so a record and the lookup filter it satisfies produce the same key.
Queried record
Sorted list of the filter's field names
Compare datapack records with ID
Datapack records to lookup
OptionalcancelToken: CancellationTokenRecord org status returned as map keyed by both record ID and source key
DatapackDeploymentRecord.recordId to org data and return per record details if the record is up to date with the org. Delegates to OrgRecordComparer.compareRecordsToOrgData.
PrivategetPrivategetOptionalresolver: (key: string) => string | Promise<string | undefined> | undefinedPrivategetPrivategetPrivateisBulk lookup of records in Salesforce using the current matching key configuration;
Array of Records to lookup; note the index of the datapackRecords corresponds to the index in the result array
OptionalcancelToken: CancellationTokenOptional cancellation token to abort the org lookups
Array with all IDs found in Salesforce; array index matches the order of the datapackRecords as provided
PrivatelookupLookup multiple records over multiple SObjects using the specified filters
lookup requests
OptionalcancelToken: CancellationTokenArray with all matched records or undefined when no matches found
PrivatenormalizePrivaterecordResolve the records for a set of dependencies in Salesforce; returns the real record IDs for each dependency.
Array of dependency resolution requests
Resolve the record if of a dependency in Salesforce; returns the real record ID of a dependency.
Dependency whose ID to resolve
PrivateresolvePrivateupdate
Build a normalized matching key for a lookup filter so lookups can be indexed for fast record matching. Returns
undefinedwhen the filter cannot be indexed safely - i.e. it contains a non-string value or a value that OrgRecordComparer.fieldEquals could match fuzzily (a date-equivalent string) - in which case the caller falls back to a linear comparison for that lookup.