Search for schema
- Search 9.5.x for schema
- Search 8.9.x for schema
- Search 10.3.x for schema
- Search 11.x for schema
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
aggregator_schema | function | modules/ |
Implements hook_schema(). |
block_schema | function | modules/ |
Implements hook_schema(). |
book_schema | function | modules/ |
Implements hook_schema(). |
comment_schema | function | modules/ |
Implements hook_schema(). |
contact_schema | function | modules/ |
Implements hook_schema(). |
DatabaseConnection::$schema | property | includes/ |
The schema object for this connection. |
DatabaseConnection::schema | function | includes/ |
Returns a DatabaseSchema object for manipulating the schema. |
DatabaseSchema | class | includes/ |
Base class for database schema definitions. |
DatabaseSchema::$connection | property | includes/ |
The database connection. |
DatabaseSchema::$defaultSchema | property | includes/ |
Definition of prefixInfo array structure. |
DatabaseSchema::$placeholder | property | includes/ |
The placeholder counter. |
DatabaseSchema::$uniqueIdentifier | property | includes/ |
A unique identifier for this query object. |
DatabaseSchema::addField | function | includes/ |
Add a new field to a table. |
DatabaseSchema::addIndex | function | includes/ |
Add an index. |
DatabaseSchema::addPrimaryKey | function | includes/ |
Add a primary key. |
DatabaseSchema::addUniqueKey | function | includes/ |
Add a unique key. |
DatabaseSchema::buildTableNameCondition | function | includes/ |
Build a condition to match a table name against a standard information_schema. |
DatabaseSchema::changeField | function | includes/ |
Change a field definition. |
DatabaseSchema::createTable | function | includes/ |
Create a new table from a Drupal table definition. |
DatabaseSchema::dropField | function | includes/ |
Drop a field. |
DatabaseSchema::dropIndex | function | includes/ |
Drop an index. |
DatabaseSchema::dropPrimaryKey | function | includes/ |
Drop the primary key. |
DatabaseSchema::dropTable | function | includes/ |
Drop a table. |
DatabaseSchema::dropUniqueKey | function | includes/ |
Drop a unique key. |
DatabaseSchema::fieldExists | function | includes/ |
Check if a column exists in the given table. |
DatabaseSchema::fieldNames | function | includes/ |
Return an array of field names from an array of key/index column specifiers. |
DatabaseSchema::fieldSetDefault | function | includes/ |
Set the default value for a field. |
DatabaseSchema::fieldSetNoDefault | function | includes/ |
Set a field to have no default value. |
DatabaseSchema::findTables | function | includes/ |
Find all tables that are like the specified base table name. |
DatabaseSchema::findTablesD8 | function | includes/ |
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/ |
Returns a mapping of Drupal schema field names to DB-native field types. |
DatabaseSchema::getPrefixInfo | function | includes/ |
Get information about the table name and schema from the prefix. |
DatabaseSchema::indexExists | function | includes/ |
Checks if an index exists in the given table. |
DatabaseSchema::nextPlaceholder | function | includes/ |
Implements QueryPlaceHolderInterface::nextPlaceholder(). |
DatabaseSchema::prefixNonTable | function | includes/ |
Create names for indexes, primary keys and constraints. |
DatabaseSchema::prepareComment | function | includes/ |
Prepare a table or column comment for database query. |
DatabaseSchema::renameTable | function | includes/ |
Rename a table. |
DatabaseSchema::tableExists | function | includes/ |
Check if a table exists. |
DatabaseSchema::uniqueIdentifier | function | includes/ |
Implements QueryPlaceHolderInterface::uniqueIdentifier(). |
DatabaseSchema::__clone | function | includes/ |
Implements the magic __clone function. |
DatabaseSchema::__construct | function | includes/ |
|
DatabaseSchemaObjectDoesNotExistException | class | includes/ |
Exception thrown if an object being modified doesn't exist yet. |
DatabaseSchemaObjectExistsException | class | includes/ |
Exception thrown if an object being created already exists. |
DatabaseSchema_mysql | class | includes/ |
|
DatabaseSchema_mysql::addField | function | includes/ |
Add a new field to a table. |
DatabaseSchema_mysql::addIndex | function | includes/ |
Add an index. |
DatabaseSchema_mysql::addPrimaryKey | function | includes/ |
Add a primary key. |
DatabaseSchema_mysql::addUniqueKey | function | includes/ |
Add a unique key. |
DatabaseSchema_mysql::buildTableNameCondition | function | includes/ |
Build a condition to match a table name against a standard information_schema. |
DatabaseSchema_mysql::changeField | function | includes/ |
Change a field definition. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.