Function DatabaseConnector->rename_table

Definitions

sources/database.php

  • Rename the given table.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$old ID_TEXT No No required parameter N/A N/A The old table name
$new ID_TEXT No No required parameter N/A N/A The new table name

Preview

Code (PHP)

/**
 * Rename the given table.
 *
 * @param  ID_TEXT $old The old table name
 * @param  ID_TEXT $new The new table name
 */

public function rename_table(string $old, string $new)