We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf81afe commit 6e46764Copy full SHA for 6e46764
1 file changed
src/PostgreSqlSwooleExtConnection.php
@@ -83,7 +83,7 @@ public function affectingStatement(string $query, array $bindings = []): int
83
$result = $statement->execute($this->prepareBindings($bindings));
84
85
$this->recordsHaveBeenModified(
86
- ($count = $this->pdo->affectedRows($result)) > 0
+ ($count = $statement->affectedRows($result)) > 0
87
);
88
89
return $count;
0 commit comments