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