Search for all
Title | Object type | File name | Summary |
---|---|---|---|
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. |
DatabaseSchema_mysql::COMMENT_MAX_COLUMN | constant | includes/ |
Maximum length of a column comment in MySQL. |
DatabaseSchema_mysql::COMMENT_MAX_TABLE | constant | includes/ |
Maximum length of a table comment in MySQL. |
DatabaseSchema_mysql::createFieldSql | function | includes/ |
Create an SQL string for a field to be used in table creation or alteration. |
DatabaseSchema_mysql::createKeySql | function | includes/ |
|
DatabaseSchema_mysql::createKeysSql | function | includes/ |
|
DatabaseSchema_mysql::createKeysSqlHelper | function | includes/ |
|
DatabaseSchema_mysql::createTableSql | function | includes/ |
Generate SQL to create a new table from a Drupal schema definition. |
DatabaseSchema_mysql::dropField | function | includes/ |
Drop a field. |
DatabaseSchema_mysql::dropIndex | function | includes/ |
Drop an index. |
DatabaseSchema_mysql::dropPrimaryKey | function | includes/ |
Drop the primary key. |
DatabaseSchema_mysql::dropTable | function | includes/ |
Drop a table. |
DatabaseSchema_mysql::dropUniqueKey | function | includes/ |
Drop a unique key. |
DatabaseSchema_mysql::fieldExists | function | includes/ |
Check if a column exists in the given table. |
DatabaseSchema_mysql::fieldSetDefault | function | includes/ |
Set the default value for a field. |
DatabaseSchema_mysql::fieldSetNoDefault | function | includes/ |
Set a field to have no default value. |
DatabaseSchema_mysql::getComment | function | includes/ |
Retrieve a table or column comment. |
DatabaseSchema_mysql::getFieldTypeMap | function | includes/ |
Returns a mapping of Drupal schema field names to DB-native field types. |
DatabaseSchema_mysql::getPrefixInfo | function | includes/ |
Get information about the table and database name from the prefix. |
DatabaseSchema_mysql::indexExists | function | includes/ |
Checks if an index exists in the given table. |
DatabaseSchema_mysql::prepareComment | function | includes/ |
Prepare a table or column comment for database query. |
DatabaseSchema_mysql::processField | function | includes/ |
Set database-engine specific properties for a field. |
DatabaseSchema_mysql::renameTable | function | includes/ |
Rename a table. |
Pagination
- Previous page
- Page 38
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.