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
Will deploy a recently validated deploy request - directly calling jsforce now that this is supported. WARNING: will always return a string from jsforce, the type is JsonCollection to support backwards compatibility
use Connection.metadata#deployRecentValidation instead - the jsforce implementation, instead of this wrapper
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.
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.