rforcecom.submitBulkQuery: Submit Bulk Query Batch to a Bulk API Job

Description Usage Arguments Value Note References Examples

View source: R/rforcecom.submitBulkQuery.R

Description

This function takes a SOQL text string and submits the query to an already existing Bulk API Job of operation "query"

Usage

1
rforcecom.submitBulkQuery(session, jobId, query)

Arguments

session

a named character vector defining parameters of the api connection as returned by rforcecom.login

jobId

a character string defining the salesforce id assigned to a submitted job as returned by rforcecom.createBulkJob

query

a character string defining a valid SOQL query on the Salesforce object associated with the job

Value

A list parameters of the batch

Note

Bulk API query doesn't support the following SOQL:

Additionally, Bulk API can't access or query compound address or compound geolocation fields.

References

https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/

Examples

1
2
3
4
5
## Not run: 
my_query <- "SELECT Id, Name FROM Account LIMIT 10"
query_info <- rforcecom.submitBulkQuery(session, jobId=job_info$id, query=my_query)

## End(Not run)

RForcecom documentation built on May 1, 2019, 6:31 p.m.