rforcecom.bulkQuery {salesforcer}R Documentation

The salesforcer backwards compatible version of RForcecom::rforcecom.bulkQuery

Description

[Soft-deprecated]

Usage

rforcecom.bulkQuery(
  session,
  soqlQuery,
  object,
  interval_seconds = 5,
  max_attempts = 100,
  verbose = FALSE
)

Arguments

session

list; a list containing "sessionID", "instanceURL", and "apiVersion" as returned by RForcecom::rforcecom.login. This argument is ignored in all backward compatible calls because the authorization credentials are stored in an environment internal to the salesforcer package, so it is no longer necessary to pass the session in each function call.

soqlQuery

character; a string defining a SOQL query (e.g. "SELECT Id, Name FROM Account").

object

character; the name of one Salesforce objects that the function is operating against (e.g. "Account", "Contact", "CustomObject__c")

interval_seconds

an integer defining the seconds between attempts to check for job completion

max_attempts

an integer defining then max number attempts to check for job completion before stopping

verbose

logical; an indicator of whether to print additional detail for each API call, which is useful for debugging. More specifically, when set to TRUE the URL, header, and body will be printed for each request, along with additional diagnostic information where available.

Value

A data.frame of the recordset returned by query


[Package salesforcer version 1.0.1 Index]