You are here

interface DatabaseSchemaInspectionInterface in Schema 8

Hierarchy

Expanded class hierarchy of DatabaseSchemaInspectionInterface

All classes that implement DatabaseSchemaInspectionInterface

2 files declare their use of DatabaseSchemaInspectionInterface
SchemaComparator.php in src/Comparison/SchemaComparator.php
Contains Drupal\schema\Comparison\SchemaComparator.
SchemaMigrator.php in src/Migration/SchemaMigrator.php
Contains Drupal\schema\Migration\SchemaMigrator.

File

src/DatabaseSchemaInspectionInterface.php, line 8
Contains Drupal\schema\DatabaseSchemaInspectionInterface.

Namespace

Drupal\schema
View source
interface DatabaseSchemaInspectionInterface extends DatabaseSchemaInterface {
  public function prepareTableComment($comment, $pdo_quote = TRUE);
  public function prepareColumnComment($comment, $pdo_quote = TRUE);
  public function updateTableComment($table_name, $comment);
  public function inspect($connection = NULL, $table_name = NULL);
  public function recreatePrimaryKey($table_name, $primary_key);
  public function getIndexes($table_name);

}

Members

Namesort descending Modifiers Type Description Overrides
DatabaseSchemaInspectionInterface::getIndexes public function 1
DatabaseSchemaInspectionInterface::inspect public function 2
DatabaseSchemaInspectionInterface::prepareColumnComment public function 1
DatabaseSchemaInspectionInterface::prepareTableComment public function 1
DatabaseSchemaInspectionInterface::recreatePrimaryKey public function 1
DatabaseSchemaInspectionInterface::updateTableComment public function 1
DatabaseSchemaInterface::addField public function Add a new field to a table.
DatabaseSchemaInterface::addIndex public function Add an index.
DatabaseSchemaInterface::addPrimaryKey public function Add a primary key.
DatabaseSchemaInterface::addUniqueKey public function Add a unique key.
DatabaseSchemaInterface::changeField public function Change a field definition.
DatabaseSchemaInterface::createTable public function Create a new table from a Drupal table definition.
DatabaseSchemaInterface::dropField public function Drop a field.
DatabaseSchemaInterface::dropIndex public function Drop an index.
DatabaseSchemaInterface::dropPrimaryKey public function Drop the primary key.
DatabaseSchemaInterface::dropTable public function Drop a table.
DatabaseSchemaInterface::dropUniqueKey public function Drop a unique key.
DatabaseSchemaInterface::fieldExists public function Check if a column exists in the given table.
DatabaseSchemaInterface::fieldNames public function Return an array of field names from an array of key/index column specifiers.
DatabaseSchemaInterface::fieldSetDefault public function Set the default value for a field.
DatabaseSchemaInterface::fieldSetNoDefault public function Set a field to have no default value.
DatabaseSchemaInterface::findTables public function Find all tables that are like the specified base table name.
DatabaseSchemaInterface::getFieldTypeMap public function Returns a mapping of Drupal schema field names to DB-native field types.
DatabaseSchemaInterface::indexExists public function Checks if an index exists in the given table.
DatabaseSchemaInterface::prepareComment public function Prepare a table or column comment for database query.
DatabaseSchemaInterface::renameTable public function Rename a table.
DatabaseSchemaInterface::tableExists public function Check if a table exists.