Function __global->_helper_needs_to_save_bytes
Definitions
sources/database_helper.php
- Whether byte saving is needed for a particular table's fields.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $table_name | ID_TEXT | No | No | required parameter | N/A | N/A | The table name |
| $fields | array | No | No | required parameter | N/A | N/A | Map of field names to types |
Returns
- Whether byte saving is needed
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Whether byte saving is needed for a particular table's fields.
*
* @param ID_TEXT $table_name The table name
* @param array $fields Map of field names to types
* @return boolean Whether byte saving is needed
*/
function _helper_needs_to_save_bytes(string $table_name, array $fields) : bool
* Whether byte saving is needed for a particular table's fields.
*
* @param ID_TEXT $table_name The table name
* @param array $fields Map of field names to types
* @return boolean Whether byte saving is needed
*/
function _helper_needs_to_save_bytes(string $table_name, array $fields) : bool

