Public Member Functions | |
__construct (Connection $connection, Resource $resource) | |
getSummary () | |
jsonSerialize () | |
getTableName () | |
setSchema ($schema) | |
![]() | |
__construct (Connection $connection) | |
retrieveAll () | |
store ($data, string $id=NULL) | |
storeMultiple (array $data) | |
remove (string $id) | |
count () | |
query (Query $query, string $alias='t') | |
destroy () | |
![]() | |
query (Query $query) | |
Static Public Member Functions | |
static | hydrate (string $json) |
Protected Member Functions | |
prepareData (string $data, string $id=NULL) | |
primaryKey () | |
getNonSerialFields () | |
Additional Inherited Members | |
![]() | |
$connection | |
Database storage object.
Definition at line 15 of file DatabaseTable.php.
Drupal\datastore\Storage\DatabaseTable::__construct | ( | Connection | $connection, |
Resource | $resource | ||
) |
Constructor method.
\Drupal\Core\Database\Connection | $connection | Drupal database connection object. |
\Dkan\Datastore\Resource | $resource | A resource. |
Definition at line 34 of file DatabaseTable.php.
|
protected |
Protected.
Reimplemented from Drupal\common\Storage\AbstractDatabaseTable.
Definition at line 117 of file DatabaseTable.php.
Drupal\datastore\Storage\DatabaseTable::getSummary | ( | ) |
Get summary.
Definition at line 44 of file DatabaseTable.php.
Drupal\datastore\Storage\DatabaseTable::getTableName | ( | ) |
Get the full name of datastore db table.
Reimplemented from Drupal\common\Storage\AbstractDatabaseTable.
Definition at line 76 of file DatabaseTable.php.
|
static |
Hydrate.
Definition at line 63 of file DatabaseTable.php.
Drupal\datastore\Storage\DatabaseTable::jsonSerialize | ( | ) |
|
protected |
Protected.
Reimplemented from Drupal\common\Storage\AbstractDatabaseTable.
Definition at line 86 of file DatabaseTable.php.
|
protected |
Protected.
Reimplemented from Drupal\common\Storage\AbstractDatabaseTable.
Definition at line 110 of file DatabaseTable.php.
Drupal\datastore\Storage\DatabaseTable::setSchema | ( | $schema | ) |
Overriden.
Definition at line 129 of file DatabaseTable.php.