DatabaseSchema::dropPrimaryKey |
function |
includes/database/schema.inc |
Drop the primary key. |
DatabaseSchema::createTableSql |
function |
includes/database/schema.inc |
Generate an array of query strings suitable for creating a table. |
DatabaseSchema::prepareComment |
function |
includes/database/schema.inc |
Prepare a table or column comment for database query. |
DatabaseSchema_mysql::addIndex |
function |
drivers/database_mysql/schema.inc |
Add an index. |
DatabaseSchema_mysql::addField |
function |
drivers/database_mysql/schema.inc |
Add a new field to a table. |
SchemaTestCase::testFindTables |
function |
modules/simpletest/tests/schema.test |
Tests the findTables() method. |
DatabaseSchema_mysql::dropField |
function |
drivers/database_mysql/schema.inc |
Drop a field. |
DatabaseSchema::getFieldTypeMap |
function |
includes/database/schema.inc |
Returns a mapping of Backdrop schema field names to DB-native field types. |
DatabaseSchema::nextPlaceholder |
function |
includes/database/schema.inc |
Implements QueryPlaceHolderInterface::nextPlaceholder(). |
DatabaseSchema::fieldSetDefault |
function |
includes/database/schema.inc |
Set the default value for a field. |
DatabaseSchema_mysql::dropTable |
function |
drivers/database_mysql/schema.inc |
Drop a table. |
DatabaseSchema_mysql::dropIndex |
function |
drivers/database_mysql/schema.inc |
Drop an index. |
backdrop_get_schema_unprocessed |
function |
includes/common.inc |
Returns the unprocessed and unaltered version of a module's schema. |
DatabaseSchema_mysql::getComment |
function |
drivers/database_mysql/schema.inc |
Retrieve a table or column comment. |
_path_get_schema_alias_maxlength |
function |
modules/path/path.inc |
Fetch the maximum length of the {url_alias}.alias field from the schema. |
DatabaseSchema::uniqueIdentifier |
function |
includes/database/schema.inc |
Implements QueryPlaceHolderInterface::uniqueIdentifier(). |
DatabaseSchema_mysql::changeField |
function |
drivers/database_mysql/schema.inc |
Change a field definition. |
SchemaTestCase::tryUnsignedInsert |
function |
modules/simpletest/tests/schema.test |
Tries to insert a negative value into columns defined as unsigned. |
DatabaseSchema_mysql::renameTable |
function |
drivers/database_mysql/schema.inc |
Rename a table. |
DatabaseSchema::fieldSetNoDefault |
function |
includes/database/schema.inc |
Set a field to have no default value. |
DatabaseSchema::$uniqueIdentifier |
property |
includes/database/schema.inc |
A unique identifier for this query object. |
DatabaseSchema_mysql::fieldExists |
function |
drivers/database_mysql/schema.inc |
Check if a column exists in the given table. |
DatabaseSchema_mysql::tableExists |
function |
drivers/database_mysql/schema.inc |
Check if a table exists. |
DatabaseSchema_mysql::indexExists |
function |
drivers/database_mysql/schema.inc |
Checks if an index exists in the given table. |
DatabaseSchema_mysql::createKeySql |
function |
drivers/database_mysql/schema.inc |
|
DatabaseSchema_mysql::processField |
function |
drivers/database_mysql/schema.inc |
Set database-engine specific properties for a field. |
DatabaseSchema::findPrefixedTables |
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. |
SchemaTestCase::checkSchemaComment |
function |
modules/simpletest/tests/schema.test |
Checks that a table or column comment matches a given description. |
DatabaseSchema_mysql::addUniqueKey |
function |
drivers/database_mysql/schema.inc |
Add a unique key. |
SchemaTestCase::testSchemaAddField |
function |
modules/simpletest/tests/schema.test |
Test adding columns to an existing table. |
SchemaTestCase::testUnsignedColumns |
function |
modules/simpletest/tests/schema.test |
Tests creating unsigned columns and data integrity thereof. |
DatabaseSchema_mysql::cloneTableSql |
function |
drivers/database_mysql/schema.inc |
Generate an array of query strings suitable for cloning a table. |
DatabaseSchema_mysql::createKeysSql |
function |
drivers/database_mysql/schema.inc |
|
DatabaseSchema_mysql::addPrimaryKey |
function |
drivers/database_mysql/schema.inc |
Add a primary key. |
DatabaseSchema_mysql::dropUniqueKey |
function |
drivers/database_mysql/schema.inc |
Drop a unique key. |
drupal_set_installed_schema_version |
function |
includes/drupal.inc |
Update the installed version information for a module. |
DatabaseSchema_mysql::getPrefixInfo |
function |
drivers/database_mysql/schema.inc |
Get information about the table and database name from the prefix. |
DatabaseSchemaObjectExistsException |
class |
includes/database/schema.inc |
Exception thrown if an object being created already exists. |
drupal_get_installed_schema_version |
function |
includes/drupal.inc |
Returns the currently installed schema version for a module. |
DatabaseSchema_mysql::createTableSql |
function |
drivers/database_mysql/schema.inc |
Generate SQL to create a new table from a Backdrop schema definition. |
DatabaseSchema_mysql::dropPrimaryKey |
function |
drivers/database_mysql/schema.inc |
Drop the primary key. |
DatabaseSchema_mysql::createFieldSql |
function |
drivers/database_mysql/schema.inc |
Create an SQL string for a field to be used in table creation or alteration. |
DatabaseSchema_mysql::prepareComment |
function |
drivers/database_mysql/schema.inc |
Prepare a table or column comment for database query. |
backdrop_set_installed_schema_version |
function |
includes/install.inc |
Update the installed version information for a module. |
DatabaseSchema_mysql::getFieldTypeMap |
function |
drivers/database_mysql/schema.inc |
Returns a mapping of Backdrop schema field names to DB-native field types. |
backdrop_get_installed_schema_version |
function |
includes/install.inc |
Returns the currently installed schema version for a module. |
DatabaseSchema_mysql::fieldSetDefault |
function |
drivers/database_mysql/schema.inc |
Set the default value for a field. |
DatabaseSchema::buildTableNameCondition |
function |
includes/database/schema.inc |
Build a condition to match a table name against a standard information_schema. |
DatabaseSchema_mysql::COMMENT_MAX_TABLE |
constant |
drivers/database_mysql/schema.inc |
Maximum length of a table comment in MySQL. |
DatabaseSchema_mysql::fieldSetNoDefault |
function |
drivers/database_mysql/schema.inc |
Set a field to have no default value. |