Function Database_Static_xml->_drop_table
Definitions
sources/database/xml.php
- Delete a table.
- Visibility: protected
- 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 |
$db | array | No | No | required parameter | N/A | N/A | The DB connection to delete on |
Returns
- Success status
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Delete a table.
*
* @param ID_TEXT $table_name The table name
* @param array $db The DB connection to delete on
* @return boolean Success status
*/
protected function _drop_table(string $table_name, array $db) : bool
* Delete a table.
*
* @param ID_TEXT $table_name The table name
* @param array $db The DB connection to delete on
* @return boolean Success status
*/
protected function _drop_table(string $table_name, array $db) : bool