Private ReadonlyconnectionPrivate ReadonlyfieldPrivate ReadonlyloggerPrivate ReadonlynsPrivate ReadonlyschemaDescribes an SObject and all it's fields using the Describe-API; any object not accessible for the current user will be return undefined.
SObject type
Describes an SObject and all it's fields using the Describe-API; any object not accessible for the current user will be return undefined.
SObject type
throw an error when the Object is not found instead of returning undefined
PrivateencodeFilters a list of Salesforce IDs based on the provided filter function.
This method groups IDs by their 3-character prefix, determines the corresponding SObject type for each prefix, and then applies the filter function to each ID based on its SObject type.
A single Salesforce ID or an array of Salesforce IDs to filter
A function that determines whether an ID should be included based on its SObject type
A Promise that resolves to an array of filtered Salesforce IDs
PrivatefindPrivategetRetrieves the API name of the name field for a specific Salesforce object type.
The API name of the Salesforce object type (e.g., 'Account', 'Contact')
A Promise that resolves to the API name of the name field, or undefined if no name field is found
Gets the SObject describe for a given SObject type; returns undefined when the SObject is not accessible for the current user, this does not check if the SObject is actually defined but only if it's accessible through the describe API, this means that for objects that are not accessible for the current user this method will return undefined even when they are actually defined in the org.
Type of SObject
the SObject describe when the SObject is accessible for the current user otherwise undefined; when undefined is returned it can either mean that the SObject is not defined or that it's not accessible for the current user
Get list of immutable fields for an SObject
SObject Type
Checks if the SObject is accessible for the current user; this does not check if the SObject is actually defined but only if it's accessible through the describe API, this means that for objects that are not accessible for the current user this method will return false even when they are actually defined in the org.
Type of SObject
true when the SObject is accessible for the current user otherwise false; when false is returned it can either mean that the SObject is not defined or that it's not accessible for the current user
Checks if the SObject is defined; similar describeSObject but does an extra check on the SObject definition through the tooling API
Type of SObject
Checks if the SObject Field is defined; similar describeSObjectField but does an extra check on the Field definition through the tooling API.
Type of SObject
Name of the field
Get the field type of an SObject field in Salesforce
SObject Type
Field Name
Get the field type of an SObject field in Salesforce
SObject Type
Field Name
Determines if an SObject has a particular field name.
SObject Type
Field Name
Transforms a property like Salesforce field to a valid Salesforce field or field path, for exampled
transforms contract.account.name -> vlocity__cmt_Contract__c.Account.Name
SOBject type
Full path of properties
Provides access to Database Schema methods like describe.