TokyoTyrantTable::setIndex
(PECL tokyo_tyrant >= 0.1.0)
TokyoTyrantTable::setIndex — Sets index
说明
Sets an index on a specified column. The index type is one of the TokyoTyrant::RDBIT_*
constants.
Passing TokyoTyrant::RDBIT_VOID
removes the index.
参数
-
column
-
The name of the column
-
type
-
The index type
返回值
This method returns the current object and throws TokyoTyrantException on failure.

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/tokyotyranttable.setindex.php