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

Pdo::dropIndex

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

説明​

public self Pdo::dropIndex( string $index )

Drop Index "index"を組み立てます。

引数​

名前データ型デフォルト備考
$indexstringインデックス名

例​

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

// Drop Index "sample_title"
$db->dropIndex('sample_title')->execute();