mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
增加接口类 规范驱动扩展
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user