Class WPDA_Table_Actions
author | Peter Schulz |
---|---|
since | 2.0.13 |
package | WPDataAccess\Utilities |
show()
There are four tabs provided:
TAB Actions Provides actions for the given table or view, like export, rename, copy, drop, alter, and so on. A button is provided for every possible action. For some actions additional info can be provided through input fields like the type of download for an export. Not all buttons are available for all tables and views. WordPress tables for example cannot be dropped. Views for example can not be truncated. Which buttons are provided depends on the table or view.
TAB Structure Shows the columns and their attributes.
TAB Indexes Shows the indexes for the specified table. Not available for views.
TAB SQL Shows the create table or views statement for the given table of view. A button is provided to copy this statement to the clipboard.
since | 2.0.13 |
---|
tab_settings()
tab_actions()
tab_alter()
tab_copy()
tab_drop()
tab_export()
tab_foreign_keys()
tab_index()
tab_optimize()
Data_length Index_length Data_free
tab_rename()
tab_sql()
tab_structure()
tab_truncate()
$create_table_stmt : string
$create_table_stmt_orig : string
$dbo_type : string
$foreign_keys : array
$indexes : array
$is_wp_table : boolean
$rownum : integer
$schema_name : string
$table_name : string
$table_structure : array
$wpda_list_columns : \WPDataAccess\Data_Dictionary\WPDA_List_Columns