This commit is contained in:
as2252258@163.com
2021-02-23 02:13:16 +08:00
parent 0ef0c77b3d
commit 82a83d1afc
2 changed files with 295 additions and 297 deletions
+2
View File
@@ -6,6 +6,7 @@
* Time: 15:23 * Time: 15:23
*/ */
declare(strict_types=1); declare(strict_types=1);
namespace Database; namespace Database;
@@ -220,6 +221,7 @@ class Command extends Component
if (!($connect instanceof PDO)) { if (!($connect instanceof PDO)) {
return null; return null;
} }
var_dump($connect, $this->sql);
if (!($query = $connect->query($this->sql))) return null; if (!($query = $connect->query($this->sql))) return null;
if ($type === static::ROW_COUNT) { if ($type === static::ROW_COUNT) {
$result = $query->rowCount(); $result = $query->rowCount();
-4
View File
@@ -148,10 +148,6 @@ class Container extends BaseObject
} else { } else {
$this->_constructs[$class] = $constrict; $this->_constructs[$class] = $constrict;
} }
if ($class == HttpHeaders::class) {
var_dump($constrict, $this->_constructs[$class]);
}
return $reflection; return $reflection;
} }