Readonly
batchPrivate
Readonly
connectionReadonly
deployPrivate
Readonly
fsPrivate
Readonly
loggerReadonly
logsReadonly
lookupReadonly
metadataPrivate
Readonly
namespacePrivate
Readonly
queryReadonly
schemaDelete one or more records by ID
list of IDs
Delete one or more records based on a SOQL filter condition. Returns array of deleted record-ids
SObject type to delete
Optional
filter: string | object | (string | object)[]Object filter or where-conditional selecting the records to delete
Number of records to delete in a single call
Executes the specified APEX using the SOAP API and returns the result.
APEX code to execute
Optional
options: { Optional
logOptional debug log levels to use
Optional
updateReplace namespace placeholders with the actual namespace
Get metadata info about any file; returns metadata type and name or undefined if the specified type is not a Metadata source.
Source file path
When the metadata type is a known metadata type return the type.
Get the list of supported metadata types for the current organization merged with static metadata from the SFDX registry
Private
getGet all static resources matching the specified name, the body of the resource is retrieved when required. The body of the static resource is cached
Name of the static resource
Insert one or more records into Salesforce; by default uses the standard collections api but switches to bulk API when there are more then 50 records to be inserted.
Record types to insert
record data and references
Optional
cancelToken: CancellationTokenoptional cancellation token
For more control ove the operation users can also directly create a record batch offering more control.
Load all known Salesforce profiles in the current workspace with the *.profile-meta.xml and the *.profile extension from the file system
Query multiple records based on the where condition. The filter condition can either be a string or a complex filter object.
SObject type
Optional
filter: string | T | (string | T)[]Object filter or Where conditional string
Optional
lookupFields: "all" | K[]fields to lookup on the record
Optional
limit: numberlimit the number of results
Optional
useCache: booleanuse the query cache
Returns a list of records. All records are mapped to record proxy object
SOQL Query to execute
Optional
useCache: booleanName of the APEX page which exposes the requested class/controller
Name of the class including namespace when a namespace is required
Name of the method to call on the controller
Data to pass to the controller
Private
soapOptional
debuggingHeader: SoapDebuggingHeaderUpdate one or more records in Salesforce using the ID field as foreign key; by default uses the standard collections api but switches to bulk API when there.
Record types to updated; all data should have an ID field
record data and references
Optional
options: Partial<{ For more control ove the operation users can also directly create a record batch offering more control.
This interface describes objects that can provide JSForce connections, it provides some abstraction from whom the class that providing the connection which is usefull