class Schema

Same name in this branch

Hierarchy

Expanded class hierarchy of Schema

Related topics

1 string reference to 'Schema'

File

drupal/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php, line 19
Definition of Drupal\Core\Database\Driver\sqlite\Schema

Namespace

Drupal\Core\Database\Driver\sqlite
View source

Members

Namesort descending Modifiers Type Description Overrides
Schema::$connection protected property
Schema::$defaultSchema protected property Override DatabaseSchema::$defaultSchema Overrides Schema::$defaultSchema
Schema::$placeholder protected property The placeholder counter.
Schema::$uniqueIdentifier protected property A unique identifier for this query object.
Schema::addField public function Add a new field to a table. Overrides Schema::addField
Schema::addIndex public function Add an index. Overrides Schema::addIndex
Schema::addPrimaryKey public function Add a primary key. Overrides Schema::addPrimaryKey
Schema::addUniqueKey public function Add a unique key. Overrides Schema::addUniqueKey
Schema::alterTable protected function Create a table with a new schema containing the old content.
Schema::buildTableNameCondition protected function Build a condition to match a table name against a standard information_schema. 1
Schema::changeField public function Change a field definition. Overrides Schema::changeField
Schema::createColumsSql protected function Build the SQL expression for creating columns.
Schema::createFieldSql protected function Create an SQL string for a field to be used in table creation or alteration.
Schema::createIndexSql protected function Build the SQL expression for indexes.
Schema::createKeySql protected function Build the SQL expression for keys.
Schema::createTable public function Create a new table from a Drupal table definition.
Schema::createTableSql public function Generate SQL to create a new table from a Drupal schema definition.
Schema::dropField public function Drop a field. Overrides Schema::dropField
Schema::dropIndex public function Drop an index. Overrides Schema::dropIndex
Schema::dropPrimaryKey public function Drop the primary key. Overrides Schema::dropPrimaryKey
Schema::dropTable public function Drop a table. Overrides Schema::dropTable
Schema::dropUniqueKey public function Drop a unique key. Overrides Schema::dropUniqueKey
Schema::fieldExists public function Check if a column exists in the given table. Overrides Schema::fieldExists
Schema::fieldNames public function Return an array of field names from an array of key/index column specifiers.
Schema::fieldSetDefault public function Set the default value for a field. Overrides Schema::fieldSetDefault
Schema::fieldSetNoDefault public function Set a field to have no default value. Overrides Schema::fieldSetNoDefault
Schema::findTables public function Find all tables that are like the specified base table name. Overrides Schema::findTables
Schema::getFieldTypeMap public function This maps a generic data type in combination with its data size to the engine-specific data type. Overrides Schema::getFieldTypeMap
Schema::getPrefixInfo protected function Get information about the table name and schema from the prefix. 1
Schema::indexExists public function Checks if an index exists in the given table. Overrides Schema::indexExists
Schema::introspectSchema protected function Find out the schema of a table.
Schema::mapKeyDefinition protected function Utility method: rename columns in an index definition according to a new mapping.
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::processField protected function Set database-engine specific properties for a field.
Schema::renameTable public function Rename a table. Overrides Schema::renameTable
Schema::tableExists public function Check if a table exists. Overrides Schema::tableExists
Schema::uniqueIdentifier public function Implements PlaceHolderInterface::uniqueIdentifier(). Overrides PlaceholderInterface::uniqueIdentifier
Schema::__clone public function Implements the magic __clone function.
Schema::__construct public function