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::dropTable function includes/database/schema.inc Drop a table.
DatabaseSchema::dropUniqueKey function includes/database/schema.inc Drop a unique key.
DatabaseSchema::fieldExists function includes/database/schema.inc Check if a column exists in the given table.
DatabaseSchema::fieldNames function includes/database/schema.inc Return an array of field names from an array of key/index column specifiers.
DatabaseSchema::fieldSetDefault function includes/database/schema.inc Set the default value for a field.
DatabaseSchema::fieldSetNoDefault function includes/database/schema.inc Set a field to have no default value.
DatabaseSchema::findTables function includes/database/schema.inc Find all tables that are like the specified base table name.
DatabaseSchema::findTablesD8 function includes/database/schema.inc Finds all tables that are like the specified base table name. This is a
backport of the change made to findTables in Drupal 8 to work with virtual,
un-prefixed table names. The original function is retained for Backwards
Compatibility.
DatabaseSchema::getFieldTypeMap function includes/database/schema.inc Returns a mapping of Drupal schema field names to DB-native field types.
DatabaseSchema::getPrefixInfo function includes/database/schema.inc Get information about the table name and schema from the prefix.
DatabaseSchema::indexExists function includes/database/schema.inc Checks if an index exists in the given table.
DatabaseSchema::nextPlaceholder function includes/database/schema.inc Implements QueryPlaceHolderInterface::nextPlaceholder().
DatabaseSchema::prefixNonTable function includes/database/schema.inc Create names for indexes, primary keys and constraints.
DatabaseSchema::prepareComment function includes/database/schema.inc Prepare a table or column comment for database query.
DatabaseSchema::renameTable function includes/database/schema.inc Rename a table.
DatabaseSchema::tableExists function includes/database/schema.inc Check if a table exists.
DatabaseSchema::uniqueIdentifier function includes/database/schema.inc Implements QueryPlaceHolderInterface::uniqueIdentifier().
DatabaseSchema::__clone function includes/database/schema.inc Implements the magic __clone function.
DatabaseSchema::__construct function includes/database/schema.inc
DatabaseSchemaObjectDoesNotExistException class includes/database/schema.inc Exception thrown if an object being modified doesn't exist yet.
DatabaseSchemaObjectExistsException class includes/database/schema.inc Exception thrown if an object being created already exists.
DatabaseSchema_mysql class includes/database/mysql/schema.inc
DatabaseSchema_mysql::addField function includes/database/mysql/schema.inc Add a new field to a table.
DatabaseSchema_mysql::addIndex function includes/database/mysql/schema.inc Add an index.
DatabaseSchema_mysql::addPrimaryKey function includes/database/mysql/schema.inc Add a primary key.
DatabaseSchema_mysql::addUniqueKey function includes/database/mysql/schema.inc Add a unique key.
DatabaseSchema_mysql::buildTableNameCondition function includes/database/mysql/schema.inc Build a condition to match a table name against a standard information_schema.
DatabaseSchema_mysql::changeField function includes/database/mysql/schema.inc Change a field definition.
DatabaseSchema_mysql::COMMENT_MAX_COLUMN constant includes/database/mysql/schema.inc Maximum length of a column comment in MySQL.
DatabaseSchema_mysql::COMMENT_MAX_TABLE constant includes/database/mysql/schema.inc Maximum length of a table comment in MySQL.
DatabaseSchema_mysql::createFieldSql function includes/database/mysql/schema.inc Create an SQL string for a field to be used in table creation or alteration.
DatabaseSchema_mysql::createKeySql function includes/database/mysql/schema.inc
DatabaseSchema_mysql::createKeysSql function includes/database/mysql/schema.inc
DatabaseSchema_mysql::createKeysSqlHelper function includes/database/mysql/schema.inc
DatabaseSchema_mysql::createTableSql function includes/database/mysql/schema.inc Generate SQL to create a new table from a Drupal schema definition.
DatabaseSchema_mysql::dropField function includes/database/mysql/schema.inc Drop a field.
DatabaseSchema_mysql::dropIndex function includes/database/mysql/schema.inc Drop an index.
DatabaseSchema_mysql::dropPrimaryKey function includes/database/mysql/schema.inc Drop the primary key.
DatabaseSchema_mysql::dropTable function includes/database/mysql/schema.inc Drop a table.
DatabaseSchema_mysql::dropUniqueKey function includes/database/mysql/schema.inc Drop a unique key.
DatabaseSchema_mysql::fieldExists function includes/database/mysql/schema.inc Check if a column exists in the given table.
DatabaseSchema_mysql::fieldSetDefault function includes/database/mysql/schema.inc Set the default value for a field.
DatabaseSchema_mysql::fieldSetNoDefault function includes/database/mysql/schema.inc Set a field to have no default value.
DatabaseSchema_mysql::getComment function includes/database/mysql/schema.inc Retrieve a table or column comment.
DatabaseSchema_mysql::getFieldTypeMap function includes/database/mysql/schema.inc Returns a mapping of Drupal schema field names to DB-native field types.
DatabaseSchema_mysql::getPrefixInfo function includes/database/mysql/schema.inc Get information about the table and database name from the prefix.
DatabaseSchema_mysql::indexExists function includes/database/mysql/schema.inc Checks if an index exists in the given table.
DatabaseSchema_mysql::prepareComment function includes/database/mysql/schema.inc Prepare a table or column comment for database query.
DatabaseSchema_mysql::processField function includes/database/mysql/schema.inc Set database-engine specific properties for a field.
DatabaseSchema_mysql::renameTable function includes/database/mysql/schema.inc Rename a table.

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