schema.inc

Schema API handling functions.

File

core/includes/schema.inc

Functions

Name Description
drupal_get_installed_schema_version Returns the currently installed schema version for a module.
drupal_get_module_schema Returns a module's schema.
drupal_get_schema_versions Returns an array of available schema versions for a module.
drupal_install_schema Creates all tables defined in a module's hook_schema().
drupal_schema_get_field_value Typecasts values to proper datatypes.
drupal_set_installed_schema_version Updates the installed version information for a module.
drupal_uninstall_schema Removes all tables defined in a module's hook_schema().
_drupal_schema_initialize Fills in required default values for table definitions from hook_schema().

Constants

Name Description
SCHEMA_UNINSTALLED Indicates that a module has not been installed yet.
doc_Drupal
2016-10-29 09:39:40
Comments
Leave a Comment

Please login to continue.