tntdb 1.0.0 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News tntdb 1.0.0 (Default branch)
# 1  
Old 02-25-2008
tntdb 1.0.0 (Default branch)

Image Tntdb is a c++-class-library for database access. It implements a database-independent layer, which loads the actual driver dynamically when a connection is made. The classes use automatic resource management with reference counts. Resources are freed when the classes go out of scope. Error handling is done with exceptions (derived from std::exception). There are STL-like iterators for result sets and rows, and also the cursor is an STL-like iterator. It is written in standard C++ with Linux. Drivers for PostgreSQL, sqlite3, MySQL, and Oracle are available. License: GNU Lesser General Public License (LGPL) Changes:
The API and ABI are declared stable now. The BLOB code has some cleanup.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
PG_CLOSE(3)															       PG_CLOSE(3)

pg_close - Closes a PostgreSQL connection

SYNOPSIS
bool pg_close ([resource $connection]) DESCRIPTION
pg_close(3) closes the non-persistent connection to a PostgreSQL database associated with the given $connection resource. Note Using pg_close(3) is not usually necessary, as non-persistent open connections are automatically closed at the end of the script. If there is open large object resource on the connection, do not close the connection before closing all large object resources. PARAMETERS
o $connection - PostgreSQL database connection resource. When $connection is not present, the default connection is used. The default connection is the last connection made by pg_connect(3) or pg_pconnect(3). RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 pg_close(3) example <?php $dbconn = pg_connect("host=localhost port=5432 dbname=mary") or die("Could not connect"); echo "Connected successfully"; pg_close($dbconn); ?> The above example will output: Connected successfully SEE ALSO
pg_connect(3). PHP Documentation Group PG_CLOSE(3)