TokyoTyrantTable::setIndex

(PECL tokyo_tyrant >= 0.1.0)
Sets 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.

Parameters:
column

The name of the column

type

The index type

Returns:

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

doc_php
2016-02-24 16:18:52
Comments
Leave a Comment

Please login to continue.