abstract class Schema

Same name in this branch

Hierarchy

Expanded class hierarchy of Schema

Related topics

3 files declare their use of Schema
1 string reference to 'Schema'

File

drupal/core/lib/Drupal/Core/Database/Schema.php, line 168
Definition of Drupal\Core\Database\Schema

Namespace

Drupal\Core\Database
View source

Members

Namesort descending Modifiers Type Description Overrides
Schema::$connection protected property
Schema::$defaultSchema protected property Definition of prefixInfo array structure. 1
Schema::$placeholder protected property The placeholder counter.
Schema::$uniqueIdentifier protected property A unique identifier for this query object.
Schema::addField abstract public function Add a new field to a table. 3
Schema::addIndex abstract public function Add an index. 3
Schema::addPrimaryKey abstract public function Add a primary key. 3
Schema::addUniqueKey abstract public function Add a unique key. 3
Schema::buildTableNameCondition protected function Build a condition to match a table name against a standard information_schema. 1
Schema::changeField abstract public function Change a field definition. 3
Schema::createTable public function Create a new table from a Drupal table definition.
Schema::dropField abstract public function Drop a field. 3
Schema::dropIndex abstract public function Drop an index. 3
Schema::dropPrimaryKey abstract public function Drop the primary key. 3
Schema::dropTable abstract public function Drop a table. 3
Schema::dropUniqueKey abstract public function Drop a unique key. 3
Schema::fieldExists public function Check if a column exists in the given table. 2
Schema::fieldNames public function Return an array of field names from an array of key/index column specifiers.
Schema::fieldSetDefault abstract public function Set the default value for a field. 3
Schema::fieldSetNoDefault abstract public function Set a field to have no default value. 3
Schema::findTables public function Find all tables that are like the specified base table name. 1
Schema::getFieldTypeMap abstract public function Returns a mapping of Drupal schema field names to DB-native field types. 3
Schema::getPrefixInfo protected function Get information about the table name and schema from the prefix. 1
Schema::indexExists abstract public function Checks if an index exists in the given table. 3
Schema::nextPlaceholder public function Implements PlaceHolderInterface::nextPlaceholder(). Overrides PlaceholderInterface::nextPlaceholder
Schema::prefixNonTable function Create names for indexes, primary keys and constraints.
Schema::prepareComment public function Prepare a table or column comment for database query. 1
Schema::renameTable abstract public function Rename a table. 3
Schema::tableExists public function Check if a table exists. 2
Schema::uniqueIdentifier public function Implements PlaceHolderInterface::uniqueIdentifier(). Overrides PlaceholderInterface::uniqueIdentifier
Schema::__clone public function Implements the magic __clone function.
Schema::__construct public function