PHP 7.0.0 RC 8 Released


(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantTable::setIndexSets index


public mixed TokyoTyrantTable::setIndex ( string $column , int $type )

Sets an index on a specified column. The index type is one of the TokyoTyrant::RDBIT_* constants. Passing TokyoTyrant::RDBIT_VOID removes the index.

Elenco dei parametri


The name of the column


The index type

Valori restituiti

This method returns the current object and throws TokyoTyrantException on failure.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top