Function __global->_helper_generate_index_fields
Definitions
sources/database_helper.php
- Generate an index field SQL snippet.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$table_name | string | required parameter | N/A | N/A | The table name |
$fields | array | required parameter | N/A | N/A | List of fields for the index |
$is_full_text | boolean | required parameter | N/A | N/A | Whether the index is a full-text index |
Return
- The SQL (null: won't create index)
- Type: ?string
- Set: N/A
- Range: N/A