Skip to content

Commit

Permalink
修复 Swoole PostGreSQL 驱动获取影响行数 (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft authored Aug 31, 2023
1 parent 4ede7df commit 3e765a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public function lastInsertId(?string $name = null): string
*/
public function rowCount(): int
{
return $this->stmt->rowCount();
return $this->stmt->affectedRows();
}

/**
Expand Down

0 comments on commit 3e765a6

Please sign in to comment.