Retrieve remain records when executing a SOQL

Usage

rforcecom.queryMore(session, nextRecordsUrl)

Arguments

session
Session data. It can be retrieved from rforcecom.login().
nextRecordsUrl
An URL for next records. (ex: “/services/data/v26.0/query/999999999999999ZZZ-
2000″)

Value

Result dataset.

Example

nextRecordsUrl <- "/services/data/v26.0/query/999999999999999ZZZ-2000"
rforcecom.queryMore(session, soqlQuery)