You are here

public function SelectQueryRaw::__toString in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/SelectQueryRaw.php \Drupal\salesforce\SelectQueryRaw::__toString()
  2. 5.0.x 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 22

Class

SelectQueryRaw

Namespace

Drupal\salesforce

Code

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