Class Zend_Db_Adapter_Db2
- Zend_Db_Adapter_Abstract
-
Zend_Db_Adapter_Db2
Package: Zend\Db\Adapter
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Adapter/Db2.php
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Adapter/Db2.php
protected
|
|
public
boolean
|
|
public
|
|
public
|
|
public
integer
|
|
public
|
|
protected
string
|
|
public
string
|
|
public
array
|
|
public
array
|
#
describeTable( string $tableName, string $schemaName = null )
Returns the column descriptions for a table. |
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, string $idType = null )
Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column. |
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
string
|
|
public
boolean
|
|
public
string
|
|
public
boolean
|
|
protected
|
|
protected
array
|
|
protected
|
protected
array
|
$_config | array(
'dbname' => null,
'username' => null,
'password' => null,
'host' => 'localhost',
'port' => '50000',
'protocol' => 'TCPIP',
'persistent' => false,
'os' => null,
'schema' => null
) |
#
User-provided configuration. |
protected
integer
|
$_execute_mode | DB2_AUTOCOMMIT_ON |
#
Execution mode |
protected
string
|
$_defaultStmtClass | 'Zend_Db_Statement_Db2' |
#
Default class name for a DB statement. |
protected
boolean
|
$_isI5 | false |
|
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,
'SMALLINT' => Zend_Db::INT_TYPE,
'BIGINT' => Zend_Db::BIGINT_TYPE,
'DECIMAL' => Zend_Db::FLOAT_TYPE,
'NUMERIC' => 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. |
$_allowSerialization,
$_autoQuoteIdentifiers,
$_autoReconnectOnUnserialize,
$_caseFolding,
$_connection,
$_defaultProfilerClass,
$_fetchMode,
$_profiler
|