public function SelectQueryRaw::__toString in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/SelectQueryRaw.php \Drupal\salesforce\SelectQueryRaw::__toString()
- 8.3 src/SelectQueryRaw.php \Drupal\salesforce\SelectQueryRaw::__toString()
Return the query as a string.
Return value
string The url-encoded query string.
Overrides SelectQueryInterface::__toString
File
- src/
SelectQueryRaw.php, line 30
Class
- SelectQueryRaw
- Class SelectQueryRaw to construct SOQL manually from a string.
Namespace
Drupal\salesforceCode
public function __toString() {
return str_replace(' ', '+', $this->query);
}