Function DatabaseConnector->table_exists

Definitions

sources/database.php

  • Check if a table exists.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$table_name ID_TEXT required parameter N/A N/A The table name
$really_only boolean False N/A N/A Only check direct rather than using meta-table (if possible) (false means check both directly and using meta-table if possible)

Return

  • Whether it exists
  • Type: boolean
  • Set: N/A
  • Range: N/A