Function DatabaseRepair->fix_table_inconsistent_in_db__bad_primary_key

Definitions

sources/database_repair.php

  • Table has wrong key so fix that.
  • Visibility: private
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$table_name string required parameter N/A N/A Table name
$key_fields array required parameter N/A N/A List of key fields
$include_meta boolean required parameter N/A N/A Make meta changes too
$return_queries boolean False N/A N/A Whether to return the main queries instead of inserting them

Return

  • Special queries (null: $return_queries not set)
  • Type: ?array
  • Set: N/A
  • Range: N/A