This commit is contained in:
as2252258@163.com
2021-08-29 04:59:47 +08:00
parent ad2beb841c
commit ea46eeb09b
-1
View File
@@ -112,7 +112,6 @@ class Connection extends Component
public function create($coroutineName, $config): Closure
{
return static function () use ($coroutineName, $config) {
debug('create db.');
return Kiri::getDi()->newObject(PDO::class, [
$config['database'], $config['cds'], $config['username'], $config['password'], $config['charset'] ?? 'utf8mb4'
]);