public function create()
{
if (parent::create()) {
if ($this->_link) {
# 读取数据
switch ($this->_type) {
case 'mysql':
return $this->_createByMySQL();
case 'sqlite':
return false;
case 'redis':
case 'ssdb':
return $this->_createByRedis();
case 'rocksdb':
}
return true;
} else {
return true;
}
} else {
return false;
}
}