改名
This commit is contained in:
@@ -220,6 +220,7 @@ class Command extends Component
|
|||||||
if (!($connect instanceof PDO)) {
|
if (!($connect instanceof PDO)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
var_dump($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();
|
||||||
|
|||||||
Reference in New Issue
Block a user