* [misc] add setFrom.

This commit is contained in:
qixinzhi
2024-09-04 16:10:43 +08:00
committed by 代婷婷
parent 54f16da9e8
commit 8d4caa6865
+12
View File
@@ -125,6 +125,18 @@ class sqlparser
$this->statement = new PhpMyAdmin\SqlParser\Statements\SelectStatement();
}
/**
* Set from.
*
* @param object $from
* @access public
* @return void
*/
public function setFrom($from)
{
$this->statement->from = array($from);
}
/**
* Get function.
*