Executes a query and auto-fetches (i.e., "queryMore") all results. This is especially useful with large query result sizes, such as over 2000 records. The default maximum fetch size is 10,000 records. Modify this via the options argument.
The SOQL string.
The query options. NOTE: the autoFetch option will always be true.
deploy a zipped buffer from the SDRL with REST or SOAP
data to deploy
JSForce deploy options + a boolean for rest
Getter for the AuthInfo fields.
Getter for the auth fields.
Send REST API request with given HTTP request info, with connected session information and SFDX headers.
HTTP request object or URL to GET request.
Optional
options: JsonMapHTTP API request options.
Set the API version for all connection requests.
Throws SfError{ name: 'IncorrectAPIVersionError' } Incorrect API version.
The API version.
Executes a query using either standard REST or Tooling API, returning a single record. Will throw if either zero records are found OR multiple records are found.
The SOQL string.
The query options.
Static
createCreates an instance of a Connection. Performs additional async initializations.
Constructor options.
Handles connections and requests to Salesforce Orgs.