public function RestClient::queryAll in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 src/Rest/RestClient.php \Drupal\salesforce\Rest\RestClient::queryAll()
- 5.0.x src/Rest/RestClient.php \Drupal\salesforce\Rest\RestClient::queryAll()
Same as ::query(), but also returns deleted or archived records.
Parameters
\Drupal\salesforce\SelectQueryInterface $query: The constructed SOQL query.
Return value
\Drupal\salesforce\SelectQueryResult The query result.
Overrides RestClientInterface::queryAll
File
- src/
Rest/ RestClient.php, line 698
Class
- RestClient
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function queryAll(SelectQueryInterface $query) {
return new SelectQueryResult($this
->apiCall('queryAll?q=' . (string) $query));
}