|
| static | create (ContainerInterface $container) |
| |
Class Service.
Definition at line 16 of file Service.php.
◆ __construct()
| Drupal\dkan_sql_endpoint\Service::__construct |
( |
ConfigFactory |
$configFactory | ) |
|
◆ create()
| static Drupal\dkan_sql_endpoint\Service::create |
( |
ContainerInterface |
$container | ) |
|
|
static |
Inherited.
@inheritDoc
Definition at line 24 of file Service.php.
◆ getQueryObject()
| Drupal\dkan_sql_endpoint\Service::getQueryObject |
( |
string |
$sqlString | ) |
|
Get a query object from a sql string.
- Parameters
-
| string | $sqlString | A string with a sql statement. |
- Returns
- \Drupal\dkan_datastore\Storage\Query A query object.
Definition at line 72 of file Service.php.
◆ getTableName()
| Drupal\dkan_sql_endpoint\Service::getTableName |
( |
string |
$sqlString | ) |
|
Get table name.
- Parameters
-
| string | $sqlString | A string with an sql statement. |
- Returns
- string The table name from the sql statement.
- Exceptions
-
Definition at line 46 of file Service.php.