class DatabaseSchema_sqlite

Hierarchy

Expanded class hierarchy of DatabaseSchema_sqlite

Related topics

File

includes/database/sqlite/schema.inc, line 14
Database schema code for SQLite databases.

Members

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!sqlite!schema.inc/class/DatabaseSchema_sqlite/7.x