* [misc] add setFrom.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user