+ [misc] add getExpression.

This commit is contained in:
qixinzhi
2024-09-04 16:10:43 +08:00
committed by 代婷婷
parent 565c230364
commit 99e055596e
+10
View File
@@ -129,6 +129,16 @@ class sqlparser
return "$name($argStr)";
}
/**
* Get expression.
*
* @param string $table
* @param string $column
* @param string $alias
* @param string $function
* @access public
* @return PhpMyAdmin\SqlParser\Components\Expression
*/
public function getExpression($table = null, $column = null, $alias = null, $function = null)
{
$expression = new PhpMyAdmin\SqlParser\Components\Expression();