TokyoTyrant
在线手册:中文 英文
PHP手册

TokyoTyrant::vanish

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrant::vanishEmpties the database

说明

public mixed TokyoTyrant::vanish ( void )

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();
?>

参见


TokyoTyrant
在线手册:中文 英文
PHP手册