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
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.
DatabaseSchema_sqlite::dropField function includes/database/sqlite/schema.inc Drop a field.
DatabaseSchema_sqlite::dropIndex function includes/database/sqlite/schema.inc Drop an index.
DatabaseSchema_sqlite::dropPrimaryKey function includes/database/sqlite/schema.inc Drop the primary key.
DatabaseSchema_sqlite::dropTable function includes/database/sqlite/schema.inc Drop a table.
DatabaseSchema_sqlite::dropUniqueKey function includes/database/sqlite/schema.inc Drop a unique key.
DatabaseSchema_sqlite::fieldExists function includes/database/sqlite/schema.inc Check if a column exists in the given table.
DatabaseSchema_sqlite::fieldSetDefault function includes/database/sqlite/schema.inc Set the default value for a field.
DatabaseSchema_sqlite::fieldSetNoDefault function includes/database/sqlite/schema.inc Set a field to have no default value.
DatabaseSchema_sqlite::findTables function includes/database/sqlite/schema.inc Find all tables that are like the specified base table name.
DatabaseSchema_sqlite::findTablesD8 function includes/database/sqlite/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_sqlite::getFieldTypeMap function includes/database/sqlite/schema.inc This maps a generic data type in combination with its data size
to the engine-specific data type.
DatabaseSchema_sqlite::indexExists function includes/database/sqlite/schema.inc Checks if an index exists in the given table.
DatabaseSchema_sqlite::introspectSchema function includes/database/sqlite/schema.inc Find out the schema of a table.
DatabaseSchema_sqlite::mapKeyDefinition function includes/database/sqlite/schema.inc Utility method: rename columns in an index definition according to a new mapping.
DatabaseSchema_sqlite::processField function includes/database/sqlite/schema.inc Set database-engine specific properties for a field.
DatabaseSchema_sqlite::renameTable function includes/database/sqlite/schema.inc Rename a table.
DatabaseSchema_sqlite::tableExists function includes/database/sqlite/schema.inc Check if a table exists.
DatabaseTablePrefixTestCase::testSchemaDotTablePrefixes function modules/simpletest/tests/database_test.test
database_test_schema function modules/simpletest/tests/database_test.install Implements hook_schema().
dblog_schema function modules/dblog/dblog.install Implements hook_schema().
drupal_get_complete_schema function includes/bootstrap.inc Gets the whole database schema.
drupal_get_installed_schema_version function includes/install.inc Returns the currently installed schema version for a module.
drupal_get_schema function includes/bootstrap.inc Gets the schema definition of a table, or the whole database schema.
drupal_get_schema_unprocessed function includes/common.inc Returns the unprocessed and unaltered version of a module's schema.
drupal_get_schema_versions function includes/install.inc Returns an array of available schema versions for a module.
drupal_install_schema function includes/common.inc Creates all tables defined in a module's hook_schema().
drupal_schema_fields_sql function includes/common.inc Retrieves a list of fields from a table schema.
drupal_schema_field_types function includes/common.inc Retrieves the type for every field in a table schema.

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