sf_query_bulk_v1 {salesforcer} | R Documentation |
Run Bulk 1.0 query
Description
This function is a convenience wrapper for submitting and retrieving query API jobs from the Bulk 1.0 API.
Usage
sf_query_bulk_v1(
soql,
object_name = NULL,
queryall = FALSE,
guess_types = TRUE,
bind_using_character_cols = deprecated(),
interval_seconds = 3,
max_attempts = 200,
control = list(...),
...,
api_type = "Bulk 1.0",
verbose = FALSE
)
Arguments
soql |
|
object_name |
|
queryall |
|
guess_types |
|
bind_using_character_cols |
|
interval_seconds |
|
max_attempts |
|
control |
|
... |
other arguments passed on to |
api_type |
|
verbose |
|
Value
A tbl_df
of the recordset returned by the query
References
Examples
## Not run:
# select all Ids from Account object (up to 1000)
ids <- sf_query_bulk_v1(soql = 'SELECT Id FROM Account LIMIT 1000',
object_name = 'Account')
# alternatively you can specify as
ids <- sf_query(soql = 'SELECT Id FROM Account LIMIT 1000',
object_name = 'Account',
api_type="Bulk 1.0")
## End(Not run)