Execute a SOQL

Usage

rforcecom.query(session, soqlQuery)

Arguments

session
Session data. It can be retrieved from rforcecom.login().
soqlQuery
A SOQL query. (ex: “SELECT Id, Name FROM Account”)

Value

Result dataset.

Example

soqlQuery <- "SELECT Id, Name, Industry, AnnualRevenue FROM Account"
rforcecom.query(session, soqlQuery)