diff --git a/src/PgSqlCommandResult.php b/src/PgSqlCommandResult.php deleted file mode 100644 index 9f8926b..0000000 --- a/src/PgSqlCommandResult.php +++ /dev/null @@ -1,35 +0,0 @@ -handle = $handle; - } - - /** - * Frees the result resource. - */ - public function __destruct() - { - \pg_free_result($this->handle); - } - - /** - * @return int Number of rows affected by the INSERT, UPDATE, or DELETE query. - */ - public function getAffectedRowCount(): int - { - return \pg_affected_rows($this->handle); - } -} diff --git a/src/PqCommandResult.php b/src/PqCommandResult.php deleted file mode 100644 index 194882a..0000000 --- a/src/PqCommandResult.php +++ /dev/null @@ -1,28 +0,0 @@ -result = $result; - } - - /** - * @return int Number of rows affected by the INSERT, UPDATE, or DELETE query. - */ - public function getAffectedRowCount(): int - { - return $this->result->affectedRows; - } -}