You are here

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

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

Get a prettified query.

Return value

string Strip '+' escaping from the query.

File

src/Commands/QueryResult.php, line 90

Class

QueryResult
Adds structured metadata to RowsOfFieldsWithMetadata.

Namespace

Drupal\salesforce\Commands

Code

public function getPrettyQuery() {
  return str_replace('+', ' ', (string) $this->query);
}