pg_affected_rows

Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Returns number of affected records (tuples)
<?php pg_affected_rows(PgSql\Result $result): int
<?php             }

        }



        $a['affected rows'] = pg_affected_rows($result);

        $a['last OID'] = pg_last_oid($result);



        $fields = pg_num_fields($result);