Search for all

  1. Search 9.5.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
DatabaseSchema_mysql::tableExists function includes/database/mysql/schema.inc Check if a table exists.
DatabaseSchema_pgsql class includes/database/pgsql/schema.inc
DatabaseSchema_pgsql::$maxIdentifierLength property includes/database/pgsql/schema.inc The maximum allowed length for index, primary key and constraint names.
DatabaseSchema_pgsql::$tableInformation property includes/database/pgsql/schema.inc A cache of information about blob columns and sequences of tables.
DatabaseSchema_pgsql::$tempNamespaceName property includes/database/pgsql/schema.inc PostgreSQL's temporary namespace name.
DatabaseSchema_pgsql::addField function includes/database/pgsql/schema.inc Add a new field to a table.
DatabaseSchema_pgsql::addIndex function includes/database/pgsql/schema.inc Add an index.
DatabaseSchema_pgsql::addPrimaryKey function includes/database/pgsql/schema.inc Add a primary key.
DatabaseSchema_pgsql::addUniqueKey function includes/database/pgsql/schema.inc Add a unique key.
DatabaseSchema_pgsql::buildTableNameCondition function includes/database/pgsql/schema.inc Build a condition to match a table name against a standard information_schema.
DatabaseSchema_pgsql::changeField function includes/database/pgsql/schema.inc Change a field definition.
DatabaseSchema_pgsql::constraintExists function includes/database/pgsql/schema.inc Helper function: check if a constraint (PK, FK, UK) exists.
DatabaseSchema_pgsql::createFieldSql function includes/database/pgsql/schema.inc Create an SQL string for a field to be used in table creation or
alteration.
DatabaseSchema_pgsql::createTableSql function includes/database/pgsql/schema.inc Generate SQL to create a new table from a Drupal schema definition.
DatabaseSchema_pgsql::dropField function includes/database/pgsql/schema.inc Drop a field.
DatabaseSchema_pgsql::dropIndex function includes/database/pgsql/schema.inc Drop an index.
DatabaseSchema_pgsql::dropPrimaryKey function includes/database/pgsql/schema.inc Drop the primary key.
DatabaseSchema_pgsql::dropTable function includes/database/pgsql/schema.inc Drop a table.
DatabaseSchema_pgsql::dropUniqueKey function includes/database/pgsql/schema.inc Drop a unique key.
DatabaseSchema_pgsql::ensureIdentifiersLength function includes/database/pgsql/schema.inc Make sure to limit identifiers according to PostgreSQL compiled in length.
DatabaseSchema_pgsql::fieldExists function includes/database/pgsql/schema.inc Check if a column exists in the given table.
DatabaseSchema_pgsql::fieldSetDefault function includes/database/pgsql/schema.inc Set the default value for a field.
DatabaseSchema_pgsql::fieldSetNoDefault function includes/database/pgsql/schema.inc Set a field to have no default value.
DatabaseSchema_pgsql::findTables function includes/database/pgsql/schema.inc Find all tables that are like the specified base table name.
DatabaseSchema_pgsql::getComment function includes/database/pgsql/schema.inc Retrieve a table or column comment.
DatabaseSchema_pgsql::getFieldTypeMap function includes/database/pgsql/schema.inc This maps a generic data type in combination with its data size
to the engine-specific data type.
DatabaseSchema_pgsql::getTempNamespaceName function includes/database/pgsql/schema.inc Gets PostgreSQL's temporary namespace name.
DatabaseSchema_pgsql::hashBase64 function includes/database/pgsql/schema.inc Calculates a base-64 encoded, PostgreSQL-safe sha-256 hash per PostgreSQL
documentation: 4.1. Lexical Structure.
DatabaseSchema_pgsql::indexExists function includes/database/pgsql/schema.inc Checks if an index exists in the given table.
DatabaseSchema_pgsql::processField function includes/database/pgsql/schema.inc Set database-engine specific properties for a field.
DatabaseSchema_pgsql::queryFieldInformation function includes/database/pgsql/schema.inc Fetch the list of CHECK constraints used on a field.
DatabaseSchema_pgsql::queryTableInformation function includes/database/pgsql/schema.inc Fetch the list of blobs and sequences used on a table.
DatabaseSchema_pgsql::renameTable function includes/database/pgsql/schema.inc Rename a table.
DatabaseSchema_pgsql::tableExists function includes/database/pgsql/schema.inc Check if a table exists.
DatabaseSchema_pgsql::_createIndexSql function includes/database/pgsql/schema.inc
DatabaseSchema_pgsql::_createKeys function includes/database/pgsql/schema.inc
DatabaseSchema_pgsql::_createKeySql function includes/database/pgsql/schema.inc
DatabaseSchema_sqlite class includes/database/sqlite/schema.inc
DatabaseSchema_sqlite::$defaultSchema property includes/database/sqlite/schema.inc Override DatabaseSchema::$defaultSchema
DatabaseSchema_sqlite::addField function includes/database/sqlite/schema.inc Add a new field to a table.
DatabaseSchema_sqlite::addIndex function includes/database/sqlite/schema.inc Add an index.
DatabaseSchema_sqlite::addPrimaryKey function includes/database/sqlite/schema.inc Add a primary key.
DatabaseSchema_sqlite::addUniqueKey function includes/database/sqlite/schema.inc Add a unique key.
DatabaseSchema_sqlite::alterTable function includes/database/sqlite/schema.inc Create a table with a new schema containing the old content.
DatabaseSchema_sqlite::changeField function includes/database/sqlite/schema.inc Change a field definition.
DatabaseSchema_sqlite::createColumsSql function includes/database/sqlite/schema.inc Build the SQL expression for creating columns.
DatabaseSchema_sqlite::createFieldSql function includes/database/sqlite/schema.inc Create an SQL string for a field to be used in table creation or alteration.
DatabaseSchema_sqlite::createIndexSql function includes/database/sqlite/schema.inc Build the SQL expression for indexes.
DatabaseSchema_sqlite::createKeySql function includes/database/sqlite/schema.inc Build the SQL expression for keys.
DatabaseSchema_sqlite::createTableSql function includes/database/sqlite/schema.inc Generate SQL to create a new table from a Drupal schema definition.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.