改名
This commit is contained in:
@@ -14,6 +14,7 @@ use Snowflake\Abstracts\Component;
|
||||
use Exception;
|
||||
use PDO;
|
||||
use PDOStatement;
|
||||
use Snowflake\Core\Json;
|
||||
use Snowflake\Exception\ComponentException;
|
||||
|
||||
/**
|
||||
@@ -150,7 +151,7 @@ class Command extends Component
|
||||
$export['param'] = $this->params;
|
||||
$export['time'] = microtime(true) - $time;
|
||||
|
||||
logger()->debug(print_r($export, true), 'mysql');
|
||||
logger()->debug(Json::encode($export), 'mysql');
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ declare(strict_types=1);
|
||||
namespace Database\Mysql;
|
||||
|
||||
|
||||
use Exception;
|
||||
use Snowflake\Abstracts\Component;
|
||||
use Database\Connection;
|
||||
|
||||
@@ -22,6 +23,7 @@ class Schema extends Component
|
||||
|
||||
/**
|
||||
* @return Columns|null
|
||||
* @throws Exception
|
||||
*/
|
||||
public function getColumns(): ?Columns
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user