__construct() __construct(array $file, array $config, string $type = 'export') : mixed 数据库备份构造方法 Parameters array $file 备份或还原的文件信息 array $config 备份配置信息 string $type 执行类型,export - 备份数据, import - 还原数据 Returns mixed —
backup() backup(string $table, int $start) : bool 备份表结构 Parameters string $table 表名 int $start 起始行数 Returns bool — false - 备份失败
write() write(string $sql) : bool 写入SQL语句 Parameters string $sql 要写入的SQL语句 Returns bool — true - 写入成功,false - 写入失败!