TokyoTyrant::vanish

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrant::vanishEmpties the database

说明

public TokyoTyrant::vanish ( void ) : mixed

Empties a remote database

参数

此函数没有参数。

返回值

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

范例

Example #1 TokyoTyrant::vanish() example

<?php
$tt 
= new TokyoTyrant("localhost");
$tt->vanish();
?>

参见