diff --git a/src/Components/pgsql/src/Db/Drivers/SwooleNew/Statement.php b/src/Components/pgsql/src/Db/Drivers/SwooleNew/Statement.php index 7b29f2d27b..054ae2d34d 100644 --- a/src/Components/pgsql/src/Db/Drivers/SwooleNew/Statement.php +++ b/src/Components/pgsql/src/Db/Drivers/SwooleNew/Statement.php @@ -322,7 +322,7 @@ public function lastInsertId(?string $name = null): string */ public function rowCount(): int { - return $this->stmt->rowCount(); + return $this->stmt->affectedRows(); } /**