Pdo::dropTable
Set create drop table query
Description
public self Pdo::dropTable( string $table )
Builds Drop Table "table".
Arguments
| Name | Data type | Default | Remarks |
|---|---|---|---|
| $table | string | Table name |
Example
Controller
$db = new \Fegg\Database\Pdo();
// Drop Table "sample_old"
$db->dropTable('sample_old')->execute();