mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 20:31:19 +02:00
Separate backward keys
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@873 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -72,6 +72,14 @@ function adminer_select_links($table_status) {
|
||||
return call_adminer('select_links', '<a href="' . htmlspecialchars($SELF) . (isset($table_status["Engine"]) ? 'table=' : 'view=') . urlencode($_GET['select']) . '">' . lang('Table structure') . '</a>', $table_status);
|
||||
}
|
||||
|
||||
/** Find backward keys for table
|
||||
* @param string
|
||||
* @return array $return[$target_table][$key_name][$target_column] = $source_column;
|
||||
*/
|
||||
function adminer_backward_keys($table) {
|
||||
return call_adminer('backward_keys', array(), $table);
|
||||
}
|
||||
|
||||
/** Query printed in select before execution
|
||||
* @param string query to be executed
|
||||
* @return string
|
||||
|
Reference in New Issue
Block a user