Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Migrations
CakeAdapter
addIndex
Migrations\CakeAdapter::addIndex PHP Метод
Документация по классу CakeAdapter
Показать файл
Открыть проект
addIndex()
публичный
Метод
Adds the specified index to a database table.
public
addIndex
(
Phinx\Db\Table
$table
,
Phinx\Db\Table\Index
$index
) :
void
$table
Phinx\Db\Table
Table
$index
Phinx\Db\Table\Index
Index
Результат
void
public function addIndex(Table $table, Index $index) { $this->adapter->addIndex($table, $index); }
CakeAdapter
__construct
addColumn
addForeignKey
addIndex
beginTransaction
changeColumn
commitTransaction
connect
createDatabase
createSchemaTable
createTable
disconnect
dropColumn
dropDatabase
dropForeignKey
dropIndex
dropIndexByName
dropTable
endCommandTimer
execute
fetchAll
fetchRow
getAdapterType
getColumnTypes
getColumns
getCommandStartTime
getConnection
getOption
getOptions
getOutput
getSqlType
getVersionLog
getVersions
hasColumn
hasDatabase
hasForeignKey
hasIndex
hasIndexByName
hasOption
hasSchemaTable
hasTable
hasTransactions
insert
isValidColumnType
migrated
query
quoteColumnName
quoteTableName
renameColumn
renameTable
rollbackTransaction
setCommandStartTime
setOptions
setOutput
startCommandTimer
writeCommand