update : 2015.11.03
php.shukuma.com

검색:
 
 
Empties the database

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

참고