class SelectQueryRaw in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 src/SelectQueryRaw.php \Drupal\salesforce\SelectQueryRaw
- 5.0.x src/SelectQueryRaw.php \Drupal\salesforce\SelectQueryRaw
Hierarchy
- class \Drupal\salesforce\SelectQueryRaw implements SelectQueryInterface
Expanded class hierarchy of SelectQueryRaw
1 file declares its use of SelectQueryRaw
- SalesforceCommands.php in src/
Commands/ SalesforceCommands.php
File
- src/
SelectQueryRaw.php, line 5
Namespace
Drupal\salesforceView source
class SelectQueryRaw implements SelectQueryInterface {
protected $query;
/**
* SelectQueryRaw constructor.
*
* @param string $query
* The SOQL query.
*/
public function __construct($query) {
$this->query = $query;
}
/**
* {@inheritdoc}
*/
public function __toString() {
return str_replace(' ', '+', $this->query);
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SelectQueryRaw:: |
protected | property | ||
SelectQueryRaw:: |
public | function | SelectQueryRaw constructor. | |
SelectQueryRaw:: |
public | function |
Return the query as a string. Overrides SelectQueryInterface:: |