TwistPHP Documentation

dropIndex

File path: dist/twist/Core/Models/Database/TableStructure.model.php
Namespace: Twist\Core\Models\Database
Extends:

dropIndexDrop a Index from the table structure

Parameters

Name Type Description
$strNamestringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strName 'foo';

//Call the function dropIndex with the example vars
$resTableStructure = new \Twist\Core\Models\Database\TableStructure();
$resTableStructure -> dropIndex($strName);