• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • TokyoTyrant::restore()

    (PECL tokyo_tyrant >= 0.1.0)

    Restore the database

    说明

    publicTokyoTyrant::restore(string $log_dir,int $timestamp[,bool $check_consistency= TRUE]): mixed

    Restore the database from the update log.

    Warning

    This method is not supported on 32bit platforms.

    参数

    $log_dir

    Directory where the log is

    $timestamp

    Beginning timestamp with microseconds

    $check_consistency

    Whether to check consistency: Default:TRUE

    返回值

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