暂时处理办法:
if (empty($this->config['dsn'])) {
$this->config['dsn'] = $this->parseDsn($this->config);
}
$db = new \PDO($this->config['dsn'], $this->config['username'], $this->config['password'], $this->config['params']);
$data = $db->query($sql);
$out = [];
foreach ($data as $v) {
$out[] = $v;
}
return [$out];
最佳答案
		