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