diff options
author | Stanislau Wolski <stanislau.wolski@gmail.com> | 2012-12-17 16:21:28 +0300 |
---|---|---|
committer | Stanislau Wolski <stanislau.wolski@gmail.com> | 2012-12-17 16:21:28 +0300 |
commit | deb547e88a88d1e98598141960cc004e2c523618 (patch) | |
tree | d5b6e3624dcb2464c5e2b23902b9d607c2133949 /codebase/db_postgre.php | |
parent | 053bf3be069ba7edf53a91179e0cfc3cdb365544 (diff) | |
download | connector-php-deb547e88a88d1e98598141960cc004e2c523618.zip connector-php-deb547e88a88d1e98598141960cc004e2c523618.tar.gz connector-php-deb547e88a88d1e98598141960cc004e2c523618.tar.bz2 |
[update] get_new_id changed to public
Diffstat (limited to 'codebase/db_postgre.php')
-rw-r--r-- | codebase/db_postgre.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codebase/db_postgre.php b/codebase/db_postgre.php index 011bd47..a7d1598 100644 --- a/codebase/db_postgre.php +++ b/codebase/db_postgre.php @@ -32,7 +32,7 @@ class PostgreDBDataWrapper extends DBDataWrapper{ return pg_fetch_assoc($res); } - protected function get_new_id(){ + public function get_new_id(){ $res = pg_query( $this->connection, "SELECT LASTVAL() AS seq"); $data = pg_fetch_assoc($res); pg_free_result($res); |