filter_valid_controls: Filter Out Control Arguments by API or Operation

View source: R/utils-control.R

filter_valid_controlsR Documentation

Filter Out Control Arguments by API or Operation

Description

Filter Out Control Arguments by API or Operation

Usage

filter_valid_controls(supplied, api_type = NULL, operation = NULL)

Arguments

supplied

list; a list of input data regarding the control arguments along with the with API and operation information to make a complete assessment of which control arguments are applicable.

api_type

character; one of "REST", "SOAP", "Bulk 1.0", or "Bulk 2.0" indicating which API to use when making the request.

operation

character; a string defining the type of operation being performed (e.g. "insert", "update", "upsert", "delete", "hardDelete", "query", "queryall").

Value

character; a vector of strings returning only the control arguments that are accepted by the specified API and operation.

Note

This function is meant to be used internally. Only use when debugging.


salesforcer documentation built on March 18, 2022, 6:26 p.m.