pg_last_oid

Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Returns the last row's OID
<?php pg_last_oid(PgSql\Result $result): string|int|false
<?php         }



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

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



        $fields = pg_num_fields($result);