onPHP

PgSQL Class Reference

 

PgSQL Class Reference
[Connectors and dialects for various databases]

PostgreSQL DB connector. More...

Inheritance diagram for PgSQL:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 isBusy ()
 asyncQuery (Query $query)
 connect ($user, $pass, $host, $base=null, $persistent=false)
 disconnect ()
 isConnected ()
 obtainSequence ($sequence)
 misc
 setEncoding ($encoding)
 queryRaw ($queryString)
 query methods
 queryCount (Query $query)
 Same as query, but returns number of affected rows Returns number of affected rows in insert/update queries.
 queryObjectRow (Query $query, GenericDAO $dao)
 queryRow (Query $query)
 queryObjectSet (Query $query, GenericDAO $dao)
 queryColumn (Query $query)
 querySet (Query $query)
 supportSequences ()

Static Public Member Functions

static getDialect ()

Private Member Functions

 checkSingle ($result)

Detailed Description

PostgreSQL DB connector.

See also:
http://www.postgresql.org/

Definition at line 20 of file PgSQL.class.php.


Member Function Documentation

static PgSQL::getDialect (  )  [static]

Reimplemented from DB.

Definition at line 22 of file PgSQL.class.php.

References PostgresDialect::me().

Referenced by asyncQuery().

Here is the call graph for this function:

PgSQL::isBusy (  ) 

Reimplemented from DB.

Definition at line 27 of file PgSQL.class.php.

PgSQL::asyncQuery ( Query query  ) 

Reimplemented from DB.

Definition at line 32 of file PgSQL.class.php.

References getDialect().

Here is the call graph for this function:

PgSQL::connect ( user,
pass,
host,
base = null,
persistent = false 
)

Reimplemented from DB.

Definition at line 39 of file PgSQL.class.php.

References DB::$persistent.

PgSQL::disconnect (  ) 

Reimplemented from DB.

Definition at line 72 of file PgSQL.class.php.

References isConnected().

Here is the call graph for this function:

PgSQL::isConnected (  ) 

Reimplemented from DB.

Definition at line 80 of file PgSQL.class.php.

Referenced by disconnect().

PgSQL::obtainSequence ( sequence  ) 

misc

Definition at line 89 of file PgSQL.class.php.

References queryRaw().

Here is the call graph for this function:

PgSQL::setEncoding ( encoding  ) 

Definition at line 97 of file PgSQL.class.php.

PgSQL::queryRaw ( queryString  ) 

query methods

Reimplemented from DB.

Definition at line 106 of file PgSQL.class.php.

References PostgresError::UNIQUE_VIOLATION.

Referenced by obtainSequence().

PgSQL::queryCount ( Query query  ) 

Same as query, but returns number of affected rows Returns number of affected rows in insert/update queries.

Reimplemented from DB.

Definition at line 129 of file PgSQL.class.php.

References DB::query().

Here is the call graph for this function:

PgSQL::queryObjectRow ( Query query,
GenericDAO dao 
)

Reimplemented from DB.

Definition at line 134 of file PgSQL.class.php.

References checkSingle(), GenericDAO::makeObject(), and DB::query().

Here is the call graph for this function:

PgSQL::queryRow ( Query query  ) 

Reimplemented from DB.

Definition at line 149 of file PgSQL.class.php.

References checkSingle(), and DB::query().

Here is the call graph for this function:

PgSQL::queryObjectSet ( Query query,
GenericDAO dao 
)

Reimplemented from DB.

Definition at line 161 of file PgSQL.class.php.

References GenericDAO::makeObject(), and DB::query().

Here is the call graph for this function:

PgSQL::queryColumn ( Query query  ) 

Reimplemented from DB.

Definition at line 178 of file PgSQL.class.php.

References DB::query().

Here is the call graph for this function:

PgSQL::querySet ( Query query  ) 

Reimplemented from DB.

Definition at line 194 of file PgSQL.class.php.

References DB::query().

Here is the call graph for this function:

PgSQL::supportSequences (  ) 

Reimplemented from DB.

Definition at line 210 of file PgSQL.class.php.

PgSQL::checkSingle ( result  )  [private]

Definition at line 215 of file PgSQL.class.php.

Referenced by queryObjectRow(), and queryRow().


The documentation for this class was generated from the following file:

generated by doxygen-1.5.1
for onPHP at Mon Jan 8 11:43:41 2007