PgSQLConnection Class Reference
[Creole::DriversCreole::Drivers::PgSQL]

Inherits ConnectionCommon.

List of all members.

Public Member Functions

Public Attributes


Detailed Description

PgSQL implementation of Connection.

Author Hans Lellelid <hans@xmpl.org> (Creole)

Michael Aichler <aichler@mediacluster.de> (Creole)

Stig Bakken <ssb@fast.no> (PEAR::DB)

Lukas Smith (PEAR::MDB)

Version 

Revision

1.2


Member Function Documentation

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

Returns mixed TRUE on success, SQLException on failure.

Reimplemented from Connection.

PgSQLConnection::close ()

 

See also Connection::disconnect()

Reimplemented from Connection.

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

 

See also Connection::simpleQuery()

Reimplemented from Connection.

PgSQLConnection::executeUpdate ( $  sql)

 

See also Connection::simpleUpdate()

Reimplemented from Connection.

PgSQLConnection::commit ()

 

Commit the current transaction.

Returns mixed TRUE on success, SQLException on failure.

Reimplemented from Connection.

PgSQLConnection::rollback ()

 

Roll back (undo) the current transaction.

Returns mixed TRUE on success, SQLException on failure.

Reimplemented from Connection.

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.

Reimplemented from Connection.

& PgSQLConnection::getDatabaseInfo ()

 

See also Connection::getDatabaseInfo()

Reimplemented from Connection.

& PgSQLConnection::getIdGenerator ()

 

See also Connection::getIdGenerator()

Reimplemented from Connection.

& PgSQLConnection::prepareStatement ( $  sql)

 

See also Connection::prepareStatement()

Reimplemented from Connection.

PgSQLConnection::prepareCall ( $  sql)

 

See also Connection::prepareCall()

Reimplemented from Connection.

& PgSQLConnection::createStatement ()

 

See also Connection::createStatement()

Reimplemented from Connection.


Member Data Documentation

PgSQLConnection::$result

 


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


Copyright © 2004 Hans Lellelid  
Creole[php4] CVS