TokyoTyrant::copy
(PECL tokyo_tyrant >= 0.1.0)
TokyoTyrant::copy — Copies the database
인수
- path
-
Path to where to copy the database. The user running the remote database must have a write access to the directory.
반환값
This method returns the current object and throws TokyoTyrantException on failure.
예제
Example #1 TokyoTyrant::copy() example
<?php
$tt = new TokyoTyrant("localhost", 1978);
$tt->copy("/tmp/foobar.tct");
?>
There are no user contributed notes for this page.
