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 |
---|---|---|---|
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. |
DatabaseSchema_mysql::tableExists | function | includes/ |
Check if a table exists. |
DatabaseSchema_pgsql | class | includes/ |
|
DatabaseSchema_pgsql::$maxIdentifierLength | property | includes/ |
The maximum allowed length for index, primary key and constraint names. |
DatabaseSchema_pgsql::$tableInformation | property | includes/ |
A cache of information about blob columns and sequences of tables. |
DatabaseSchema_pgsql::$tempNamespaceName | property | includes/ |
PostgreSQL's temporary namespace name. |
DatabaseSchema_pgsql::addField | function | includes/ |
Add a new field to a table. |
DatabaseSchema_pgsql::addIndex | function | includes/ |
Add an index. |
DatabaseSchema_pgsql::addPrimaryKey | function | includes/ |
Add a primary key. |
DatabaseSchema_pgsql::addUniqueKey | function | includes/ |
Add a unique key. |
DatabaseSchema_pgsql::buildTableNameCondition | function | includes/ |
Build a condition to match a table name against a standard information_schema. |
DatabaseSchema_pgsql::changeField | function | includes/ |
Change a field definition. |
DatabaseSchema_pgsql::constraintExists | function | includes/ |
Helper function: check if a constraint (PK, FK, UK) exists. |
DatabaseSchema_pgsql::createFieldSql | function | includes/ |
Create an SQL string for a field to be used in table creation or alteration. |
DatabaseSchema_pgsql::createTableSql | function | includes/ |
Generate SQL to create a new table from a Drupal schema definition. |
DatabaseSchema_pgsql::dropField | function | includes/ |
Drop a field. |
DatabaseSchema_pgsql::dropIndex | function | includes/ |
Drop an index. |
DatabaseSchema_pgsql::dropPrimaryKey | function | includes/ |
Drop the primary key. |
DatabaseSchema_pgsql::dropTable | function | includes/ |
Drop a table. |
DatabaseSchema_pgsql::dropUniqueKey | function | includes/ |
Drop a unique key. |
DatabaseSchema_pgsql::ensureIdentifiersLength | function | includes/ |
Make sure to limit identifiers according to PostgreSQL compiled in length. |
DatabaseSchema_pgsql::fieldExists | function | includes/ |
Check if a column exists in the given table. |
DatabaseSchema_pgsql::fieldSetDefault | function | includes/ |
Set the default value for a field. |
DatabaseSchema_pgsql::fieldSetNoDefault | function | includes/ |
Set a field to have no default value. |
DatabaseSchema_pgsql::findTables | function | includes/ |
Find all tables that are like the specified base table name. |
DatabaseSchema_pgsql::getComment | function | includes/ |
Retrieve a table or column comment. |
DatabaseSchema_pgsql::getFieldTypeMap | function | includes/ |
This maps a generic data type in combination with its data size to the engine-specific data type. |
DatabaseSchema_pgsql::getTempNamespaceName | function | includes/ |
Gets PostgreSQL's temporary namespace name. |
DatabaseSchema_pgsql::hashBase64 | function | includes/ |
Calculates a base-64 encoded, PostgreSQL-safe sha-256 hash per PostgreSQL documentation: 4.1. Lexical Structure. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.