メインコンテンツまでスキップ
Version: Fegg 5.x

Pdo::dropTable

DROP TABLEのクエリを組み立てます

説明​

public self Pdo::dropTable( string $table )

Drop Table "table"を組み立てます。

引数​

名前データ型デフォルト備考
$tablestringテーブル名

例​

Controller
$db = new \Fegg\Database\Pdo();

// Drop Table "sample_old"
$db->dropTable('sample_old')->execute();