Function DatabaseDriver->get_type_remap
Definitions
sources/database.php
- Get a map of software field types, to actual database types.
- Visibility: public
- Is abstract?: Yes
- Is static?: No
- Is final?: No
- Returns: array
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$for_alter | boolean | No | No | False | N/A | N/A | Whether this is for adding a table field |
Returns
- The map
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a map of software field types, to actual database types.
*
* @param boolean $for_alter Whether this is for adding a table field
* @return array The map
*/
abstract public function get_type_remap(bool $for_alter = false) : array
* Get a map of software field types, to actual database types.
*
* @param boolean $for_alter Whether this is for adding a table field
* @return array The map
*/
abstract public function get_type_remap(bool $for_alter = false) : array