Function DatabaseConnector->add_auto_key

Definitions

sources/database.php

  • Use an *AUTO key for a table that had some other key before.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$table_name ID_TEXT required parameter N/A N/A Table name
$field_name ID_TEXT id N/A N/A Field name for new key, must always be 'id'