PHP 7.2.9 Released

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

参见

add a note add a note

User Contributed Notes

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