Skip to main content
Version: Fegg 5.x (next)

Pdo::dropTable

Set create drop table query

Description​

public self Pdo::dropTable( string $table )

Builds Drop Table "table".

Arguments​

NameData typeDefaultRemarks
$tablestringTable name

Example​

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

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