| Name | Description |
|---|---|
| Database abstraction layer | Allow the use of different database servers using the same code base. |
| Schema API | A Drupal schema definition is an array structure representing one or more tables and their related keys and indexes. A schema is defined by hook_schema(), which usually lives in a modulename.install file. |
| Name | Location | Description |
|---|---|---|
| drupal_uninstall_schema | drupal/includes/common.inc | Remove all tables that a module defines in its hook_schema(). |
| list_themes | drupal/includes/theme.inc | Provides a list of currently available themes. |
| update_create_batch_table | drupal/update.php | Create the batch table. |
| update_fix_d6_requirements | drupal/update.php | Perform Drupal 5.x to 6.x updates that are required for update.php to function properly. |
| update_prepare_d7_bootstrap | drupal/update.php | Users who still have a Drupal 6 database (and are in the process of updating to Drupal 7) need extra help before a full bootstrap can be achieved. This function does the necessary preliminary work that allows the bootstrap to be successful. |
| Name | Location | Description |
|---|---|---|
| db_escape_table | drupal/includes/database/database.inc | Restrict a dynamic table, column or constraint name to safe characters. |
| db_fetch_object | drupal/includes/database/database.inc | |
| db_query | drupal/includes/database/database.inc | Execute an arbitrary query string against the active database. |
| db_result | drupal/includes/database/database.inc |