PgSQLConnection Class Reference

Inherits ConnectionCommon, and Connection.

List of all members.

Public Member Functions


Member Function Documentation

void PgSQLConnection::connect ( $dsninfo, $flags = 0 )

 

Connect to a database and log in as the specified user.

Parameters
array $dsn The datasource hash.
$flags Any connection flags. public

Exceptions
SQLException 

Returns void

Implements Connection.

PgSQLConnection::close ( )

 

See also Connection::disconnect()

Implements Connection.

PgSQLConnection::executeQuery ( $sql, $fetchmode = null )

 

See also Connection::simpleQuery()

Implements Connection.

PgSQLConnection::executeUpdate ( $sql )

 

See also Connection::simpleUpdate()

Implements Connection.

PgSQLConnection::commit ( )

 

Commit the current transaction.

Implements Connection.

void PgSQLConnection::rollback ( )

 

Roll back (undo) the current transaction.
Exceptions
SQLException 

Returns void

Implements Connection.

int PgSQLConnection::getUpdateCount ( )

 

Gets the number of rows affected by the data manipulation query.
See also Statement::getUpdateCount()
Returns int Number of rows affected by the last query.

Implements Connection.

PgSQLConnection::getDatabaseInfo ( )

 

See also Connection::getDatabaseInfo()

Implements Connection.

PgSQLConnection::getIdGenerator ( )

 

See also Connection::getIdGenerator()

Implements Connection.

PgSQLConnection::prepareStatement ( $sql )

 

See also Connection::prepareStatement()

Implements Connection.

PgSQLConnection::prepareCall ( $sql )

 

See also Connection::prepareCall()

Reimplemented from ConnectionCommon.

PgSQLConnection::createStatement ( )

 

See also Connection::createStatement()

Implements Connection.


This file is part of the Creole[php5] library.


Copyright © 2004 Hans Lellelid  
Creole[php5] CVS