(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrant::copyCopies the database


public TokyoTyrant::copy ( string $path ) : TokyoTyrant

Makes a copy of the current database

Elenco dei parametri


Path to where to copy the database. The user running the remote database must have a write access to the directory.

Valori restituiti

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


Example #1 TokyoTyrant::copy() example

= new TokyoTyrant("localhost"1978);

Vedere anche:

add a note add a note

User Contributed Notes

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