DatabaseSchema_pgsql
class DatabaseSchema_pgsql
Hierarchy
- class \DatabaseSchema implements QueryPlaceholderInterface
- class \DatabaseSchema_pgsql
Expanded class hierarchy of DatabaseSchema_pgsql
Related topics
File
- includes/database/pgsql/schema.inc, line 13
- Database schema code for PostgreSQL database servers.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DatabaseSchema::$connection | protected | property | |
DatabaseSchema::$defaultSchema | protected | property | Definition of prefixInfo array structure. |
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::fieldExists | public | function | Check if a column exists in the given table. |
DatabaseSchema::fieldNames | public | function | Return an array of field names from an array of key/index column specifiers. |
DatabaseSchema::findTables | public | function | Find all tables that are like the specified base table name. |
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::tableExists | public | function | Check if a table exists. |
DatabaseSchema::uniqueIdentifier | public | function | Implements QueryPlaceHolderInterface::uniqueIdentifier(). Overrides QueryPlaceholderInterface::uniqueIdentifier |
DatabaseSchema::__clone | public | function | Implements the magic __clone function. |
DatabaseSchema::__construct | public | function | |
DatabaseSchema_pgsql::$tableInformation | protected | property | A cache of information about blob columns and sequences of tables. |
DatabaseSchema_pgsql::addField | public | function | Add a new field to a table. Overrides DatabaseSchema::addField |
DatabaseSchema_pgsql::addIndex | public | function | Add an index. Overrides DatabaseSchema::addIndex |
DatabaseSchema_pgsql::addPrimaryKey | public | function | Add a primary key. Overrides DatabaseSchema::addPrimaryKey |
DatabaseSchema_pgsql::addUniqueKey | function | Add a unique key. Overrides DatabaseSchema::addUniqueKey | |
DatabaseSchema_pgsql::changeField | public | function | Change a field definition. Overrides DatabaseSchema::changeField |
DatabaseSchema_pgsql::constraintExists | protected | function | Helper function: check if a constraint (PK, FK, UK) exists. |
DatabaseSchema_pgsql::createFieldSql | protected | function | Create an SQL string for a field to be used in table creation or alteration. |
DatabaseSchema_pgsql::createTableSql | protected | function | Generate SQL to create a new table from a Drupal schema definition. |
DatabaseSchema_pgsql::dropField | public | function | Drop a field. Overrides DatabaseSchema::dropField |
DatabaseSchema_pgsql::dropIndex | public | function | Drop an index. Overrides DatabaseSchema::dropIndex |
DatabaseSchema_pgsql::dropPrimaryKey | public | function | Drop the primary key. Overrides DatabaseSchema::dropPrimaryKey |
DatabaseSchema_pgsql::dropTable | public | function | Drop a table. Overrides DatabaseSchema::dropTable |
DatabaseSchema_pgsql::dropUniqueKey | public | function | Drop a unique key. Overrides DatabaseSchema::dropUniqueKey |
DatabaseSchema_pgsql::fieldSetDefault | public | function | Set the default value for a field. Overrides DatabaseSchema::fieldSetDefault |
DatabaseSchema_pgsql::fieldSetNoDefault | public | function | Set a field to have no default value. Overrides DatabaseSchema::fieldSetNoDefault |
DatabaseSchema_pgsql::getComment | public | function | Retrieve a table or column comment. |
DatabaseSchema_pgsql::getFieldTypeMap | function | This maps a generic data type in combination with its data size to the engine-specific data type. Overrides DatabaseSchema::getFieldTypeMap | |
DatabaseSchema_pgsql::indexExists | public | function | Checks if an index exists in the given table. Overrides DatabaseSchema::indexExists |
DatabaseSchema_pgsql::processField | protected | function | Set database-engine specific properties for a field. |
DatabaseSchema_pgsql::queryFieldInformation | public | function | Fetch the list of CHECK constraints used on a field. |
DatabaseSchema_pgsql::queryTableInformation | public | function | Fetch the list of blobs and sequences used on a table. |
DatabaseSchema_pgsql::renameTable | function | Rename a table. Overrides DatabaseSchema::renameTable | |
DatabaseSchema_pgsql::_createIndexSql | protected | function | |
DatabaseSchema_pgsql::_createKeys | protected | function | |
DatabaseSchema_pgsql::_createKeySql | protected | function |
© 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!pgsql!schema.inc/class/DatabaseSchema_pgsql/7.x