PHP Classes

classpgDB: PostgreSQL database access wrapper

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 817 All time: 4,209 This week: 205Up
Version License PHP version Categories
classpgdb 1.0BSD License5PHP 5, Databases


This class implements a wrapper to access PostgreSQL databases. It can:

- Establish database connections
- Execute SQL queries
- Fetch the name, size and type of query result columns
- Fetch whole result sets into arrays
- Display information about errors, query results and for debugging
- Get the number result set rows or affected rows by a query
- Get the last inserted identifier of row with a key generated from a sequence
- Execute a query and return the results in a single call
- Escape text field values
- Insert or update rows using data from arrays
- Locks / unlocks actions or table fields
- Helper functions to deal with various types of data going into query where clause

For documentation visit

Picture of martin maros
Name: martin maros <contact>
Classes: 1 package by
Country: Slovak Republic Slovak Republic
Age: 42
All time rank: 261214 in Slovak Republic Slovak Republic
Week rank: 483 Up4 in Slovak Republic Slovak Republic Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file classpgDB.php Class db layer
Accessible without login Plain text file example.php Example example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,209
This week:205Up