Search for schema

  1. Search 9.5.x for schema
  2. Search 8.9.x for schema
  3. Search 10.3.x for schema
  4. Search 11.x for schema
  5. Other projects
Title Object type File name Summary
aggregator_schema function modules/aggregator/aggregator.install Implements hook_schema().
block_schema function modules/block/block.install Implements hook_schema().
book_schema function modules/book/book.install Implements hook_schema().
comment_schema function modules/comment/comment.install Implements hook_schema().
contact_schema function modules/contact/contact.install Implements hook_schema().
DatabaseConnection::$schema property includes/database/database.inc The schema object for this connection.
DatabaseConnection::schema function includes/database/database.inc Returns a DatabaseSchema object for manipulating the schema.
DatabaseSchema class includes/database/schema.inc Base class for database schema definitions.
DatabaseSchema::$connection property includes/database/schema.inc The database connection.
DatabaseSchema::$defaultSchema property includes/database/schema.inc Definition of prefixInfo array structure.
DatabaseSchema::$placeholder property includes/database/schema.inc The placeholder counter.
DatabaseSchema::$uniqueIdentifier property includes/database/schema.inc A unique identifier for this query object.
DatabaseSchema::addField function includes/database/schema.inc Add a new field to a table.
DatabaseSchema::addIndex function includes/database/schema.inc Add an index.
DatabaseSchema::addPrimaryKey function includes/database/schema.inc Add a primary key.
DatabaseSchema::addUniqueKey function includes/database/schema.inc Add a unique key.
DatabaseSchema::buildTableNameCondition function includes/database/schema.inc Build a condition to match a table name against a standard information_schema.
DatabaseSchema::changeField function includes/database/schema.inc Change a field definition.
DatabaseSchema::createTable function includes/database/schema.inc Create a new table from a Drupal table definition.
DatabaseSchema::dropField function includes/database/schema.inc Drop a field.
DatabaseSchema::dropIndex function includes/database/schema.inc Drop an index.
DatabaseSchema::dropPrimaryKey function includes/database/schema.inc Drop the primary key.
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.

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