+ [misc] add getOriginTable.

This commit is contained in:
qixinzhi
2024-06-11 03:04:13 +00:00
parent 9b5e59878f
commit 6d6c919956
+14
View File
@@ -71,6 +71,20 @@ class sqlparser
$this->isSelect = $this->statement instanceof PhpMyAdmin\SqlParser\Statements\SelectStatement === true;
}
/**
* Get origin table from table name or expr.
*
* @param string $table
* @access public
* @return string|array
*/
public function getOriginTable($table)
{
$this->storeOriginTable($table);
return $table;
}
/**
* Judge column exist in origin table or not.
*