DbSql::DelTable PHP Method

DelTable() public method

删除表,返回SQL语句
public DelTable ( string $table ) : string
$table string
return string
    public function DelTable($table)
    {
        return $this->get()->drop("{$table}")->sql;
    }

Usage Example

Esempio n. 1
0
 /**
  * @param $table
  */
 function DelTable($table)
 {
     $this->QueryMulit($this->sql->DelTable($table));
 }