Class Zend_Db_Adapter_Pdo_Pgsql
Class for connecting to PostgreSQL databases and performing common operations.
- Zend_Db_Adapter_Abstract
-
Zend_Db_Adapter_Pdo_Abstract
-
Zend_Db_Adapter_Pdo_Pgsql
Package: Zend\Db\Adapter
Category: Zend
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Adapter/Pdo/Pgsql.php
Category: Zend
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Adapter/Pdo/Pgsql.php
protected
|
|
public
array
|
|
public
array
|
#
describeTable( string $tableName, string $schemaName = null )
Returns the column descriptions for a table. |
public
string
|
|
public
string
|
#
lastSequenceId( string $sequenceName )
Return the most recent value from the specified sequence in the database. This is supported only on RDBMS brands that support sequences (e.g. Oracle, PostgreSQL, DB2). Other RDBMS brands return null. |
public
string
|
#
nextSequenceId( string $sequenceName )
Generate a new value from the specified sequence in the database, and return it. This is supported only on RDBMS brands that support sequences (e.g. Oracle, PostgreSQL, DB2). Other RDBMS brands return null. |
public
string
|
#
lastInsertId( string $tableName = null, string $primaryKey = null )
Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column. |
_beginTransaction(),
_commit(),
_dsn(),
_quote(),
_rollBack(),
closeConnection(),
exec(),
getServerVersion(),
isConnected(),
prepare(),
query(),
setFetchMode(),
supportsParameters()
|
protected
string
|
$_pdoType | 'pgsql' |
#
PDO type. |
protected
array
|
$_numericDataTypes | array(
Zend_Db::INT_TYPE => Zend_Db::INT_TYPE,
Zend_Db::BIGINT_TYPE => Zend_Db::BIGINT_TYPE,
Zend_Db::FLOAT_TYPE => Zend_Db::FLOAT_TYPE,
'INTEGER' => Zend_Db::INT_TYPE,
'SERIAL' => Zend_Db::INT_TYPE,
'SMALLINT' => Zend_Db::INT_TYPE,
'BIGINT' => Zend_Db::BIGINT_TYPE,
'BIGSERIAL' => Zend_Db::BIGINT_TYPE,
'DECIMAL' => Zend_Db::FLOAT_TYPE,
'DOUBLE PRECISION' => Zend_Db::FLOAT_TYPE,
'NUMERIC' => Zend_Db::FLOAT_TYPE,
'REAL' => Zend_Db::FLOAT_TYPE
) |
#
Keys are UPPERCASE SQL datatypes or the constants Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE. |
$_defaultStmtClass
|
$_allowSerialization,
$_autoQuoteIdentifiers,
$_autoReconnectOnUnserialize,
$_caseFolding,
$_config,
$_connection,
$_defaultProfilerClass,
$_fetchMode,
$_profiler
|