public function QueryResult::getPrettyQuery in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Commands/QueryResult.php \Drupal\salesforce\Commands\QueryResult::getPrettyQuery()
- 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\CommandsCode
public function getPrettyQuery() {
return str_replace('+', ' ', (string) $this->query);
}