增加接口类 规范驱动扩展

This commit is contained in:
thinkphp
2016-05-05 07:39:05 +08:00
parent 3774e3451a
commit 7a8bb3b54f
33 changed files with 237 additions and 64 deletions

View File

@@ -21,7 +21,7 @@ use think\exception\DbBindParamException;
use think\exception\PDOException;
use think\Log;
abstract class Connection
abstract class Connection implements ConnectionInterface
{
// PDO操作实例
protected $PDOStatement;
@@ -226,14 +226,6 @@ abstract class Connection
}
}
/**
* 解析pdo连接的dsn信息由驱动扩展
* @access public
* @param array $config 连接信息
* @return string
*/
abstract protected function parseDsn($config);
/**
* 释放查询结果
* @access public