db_type_map()
drupal/includes/database/database.inc, line 1991
This maps a generic data type in combination with its data size to the engine-specific data type.
| Name | Description |
|---|---|
| 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. |
function db_type_map() {
return Database::getActiveConnection()->schema()->getFieldTypeMap();
}