This commit is contained in:
2026-01-11 19:56:26 +08:00
parent db18a2d73a
commit b1d2c0fb51
+3
View File
@@ -163,6 +163,9 @@ class Command extends Component
if ($prepare->execute($this->params) === false) {
throw new Exception('(' . $prepare->errorInfo()[0] . ')' . $prepare->errorInfo()[2]);
}
var_dump($prepare->errorInfo(), $client->lastInsertId());
$prepare->closeCursor();
$result = $client->lastInsertId();