Delete::$table

The table from which to delete. Type: string File core/lib/Drupal/Core/Database/Query/Delete.php, line 22 Class Delete General class for an abstracted DELETE operation. Namespace Drupal\Core\Database\Query Code protected $table;

Delete

PostgreSQL implementation of \Drupal\Core\Database\Query\Delete. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Delete implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\pgsql\Delete File core/lib/Drupal/Core/Database/Driver/pgsql/Delete.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Delete::$table protected property

Delete

SQLite implementation of \Drupal\Core\Database\Query\Delete. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Delete implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\sqlite\Delete File core/lib/Drupal/Core/Database/Driver/sqlite/Delete.php, line 10 Namespace Drupal\Core\Database\Driver\sqlite Members Name Modifiers Type Description Delete::$table protected property

Delete

MySQL implementation of \Drupal\Core\Database\Query\Delete. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Delete implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\mysql\Delete File core/lib/Drupal/Core/Database/Driver/mysql/Delete.php, line 10 Namespace Drupal\Core\Database\Driver\mysql Members Name Modifiers Type Description Delete::$table protected property The

Delete

General class for an abstracted DELETE operation. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Delete implements ConditionInterface uses QueryConditionTrait Related topics Database abstraction layer Allow the use of different database servers using the same code base. File core/lib/Drupal/Core/Database/Query/Delete.php, line 13 Namespace Drupal\Core\Database\Query Members Name Modifiers Type Description D

DefaultTableMapping::__construct

public DefaultTableMapping::__construct(ContentEntityTypeInterface $entity_type, array $storage_definitions) Constructs a DefaultTableMapping. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Field\FieldStorageDefinitionInterface[] $storage_definitions: A list of field storage definitions that should be available for the field columns of this table mapping. File core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 87 C

DefaultTableMapping::setFieldNames

public DefaultTableMapping::setFieldNames($table_name, array $field_names) Adds field columns for a table to the table mapping. Parameters string $table_name: The name of the table to add the field column for. string[] $field_names: A list of field names to add the columns for. Return value $this File core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 231 Class DefaultTableMapping Defines a default table mapping class. Namespace Drupal\Core\Entity\Sql Code public function

DefaultTableMapping::setExtraColumns

public DefaultTableMapping::setExtraColumns($table_name, array $column_names) Adds a extra columns for a table to the table mapping. Parameters string $table_name: The name of table to add the extra columns for. string[] $column_names: The list of column names. Return value $this File core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 258 Class DefaultTableMapping Defines a default table mapping class. Namespace Drupal\Core\Entity\Sql Code public function setExtraColumns($

DefaultTableMapping::requiresDedicatedTableStorage

public DefaultTableMapping::requiresDedicatedTableStorage(FieldStorageDefinitionInterface $storage_definition) Checks whether the given field has to be stored in a dedicated table. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. Return value bool TRUE if the field can be stored in a dedicated table, FALSE otherwise. File core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 287 Class DefaultTableMapping Defines a de

DefaultTableMapping::getTableNames

public DefaultTableMapping::getTableNames() Gets a list of table names for this mapping. Return value string[] An array of table names. Overrides TableMappingInterface::getTableNames File core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 95 Class DefaultTableMapping Defines a default table mapping class. Namespace Drupal\Core\Entity\Sql Code public function getTableNames() { return array_unique(array_merge(array_keys($this->fieldNames), array_keys($this->extraColum