You are here

public function RestClientInterface::query in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::query()
  2. 5.0.x src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::query()

Use SOQL to get objects based on query string.

Parameters

\Drupal\salesforce\SelectQueryInterface $query: The constructed SOQL query.

Return value

\Drupal\salesforce\SelectQueryResult The query result.

1 method overrides RestClientInterface::query()
RestClient::query in src/Rest/RestClient.php
Use SOQL to get objects based on query string.

File

src/Rest/RestClientInterface.php, line 167

Class

RestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

public function query(SelectQueryInterface $query);