You are here

public function QueryResult::getTotal in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Commands/QueryResult.php \Drupal\salesforce\Commands\QueryResult::getTotal()
  2. 8.3 src/Commands/QueryResult.php \Drupal\salesforce\Commands\QueryResult::getTotal()

Getter for query total (total number of records available).

Return value

mixed The total.

File

src/Commands/QueryResult.php, line 70

Class

QueryResult
Adds structured metadata to RowsOfFieldsWithMetadata.

Namespace

Drupal\salesforce\Commands

Code

public function getTotal() {
  return $this->total;
}