TokyoTyrant
PHP Manual

TokyoTyrant::vanish

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrant::vanishEmpties the database

Descrierea

public mixed TokyoTyrant::vanish ( void )

Empties a remote database

Parametri

Această funcție nu are parametri.

Valorile întoarse

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

Exemple

Example #1 TokyoTyrant::vanish() example

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

Vedeți de asemenea


TokyoTyrant
PHP Manual