Public Member Functions | |
__construct (DatastoreService $datastoreService, ConfigFactory $configFactory) | |
runQuery (string $queryString, $showDbColumns=FALSE) | |
getResourceIdentifierAndVersion (string $sqlString) | |
getResourceUuid (string $sqlString) | |
Static Public Member Functions | |
static | create (ContainerInterface $container) |
Class Service.
Definition at line 20 of file Service.php.
Drupal\datastore\SqlEndpoint\Service::__construct | ( | DatastoreService | $datastoreService, |
ConfigFactory | $configFactory | ||
) |
Constructor, sets the datastoreService and configFactory properties.
Drupal\datastore\Service | $datastoreService | The datastore service object. |
Drupal\Core\Config\ConfigFactory | $configFactory | An instance of Drupal's configFactory. |
Definition at line 53 of file Service.php.
|
static |
{}
Definition at line 38 of file Service.php.
Drupal\datastore\SqlEndpoint\Service::getResourceIdentifierAndVersion | ( | string | $sqlString | ) |
Get resource UUID.
string | $sqlString | A string with an sql statement. |
Definition at line 117 of file Service.php.
Drupal\datastore\SqlEndpoint\Service::getResourceUuid | ( | string | $sqlString | ) |
Get the a resource's UUID if it was given through the SQL string.
Definition at line 291 of file Service.php.
Drupal\datastore\SqlEndpoint\Service::runQuery | ( | string | $queryString, |
$showDbColumns = FALSE |
|||
) |
Run query.
string | $queryString | The query string passed to the endpoint. |
bool | $showDbColumns | If true, return DB column machine names instead of human-readable descriptions, and include a "record_number" column. |
Definition at line 71 of file Service.php.