Zend_Db_Adapter_Db2Located in /Zend/Db/Adapter/Db2.php (line 40)
Zend_Db_Adapter_Abstract | --Zend_Db_Adapter_Db2
array
$_config
= array(User-provided configuration.
Basic keys are:
username => (string) Connect to the database as this username. password => (string) Password associated with the username. host => (string) What host to connect to (default 127.0.0.1) dbname => (string) The name of the database to user protocol => (string) Protocol to use, defaults to "TCPIP" port => (integer) Port number to use for TCP/IP if protocol is "TCPIP" persistent => (boolean) Set TRUE to use a persistent connection (db2_pconnect)
int
$_execute_mode
= DB2_AUTOCOMMIT_ON (line 73)
Execution mode
string
$_lastInsertTable
= null (line 83)
Table name of the last accessed table for an insert operation This is a DB2-Adapter-specific member variable with the utmost probability you might not find it in other adapters...
Inherited from Zend_Db_Adapter_Abstract
Zend_Db_Adapter_Abstract::$_connection
Zend_Db_Adapter_Abstract::$_fetchMode
Zend_Db_Adapter_Abstract::$_profiler
Constructor __construct (line 102)
Constructor.
$config is an array of key/value pairs containing configuration options. These options are common to most adapters:
dbname => (string) The name of the database to user username => (string) Connect to the database as this username. password => (string) Password associated with the username. host => (string) What host to connect to, defaults to localhost port => (string) The port of the database, defaults to 50000 persistent => (boolean) Whether to use a persistent connection or not, defaults to false protocol => (string) The network protocol, defaults to TCPIP options => (array) Other database options such as autocommit, case, and cursor options
describeTable (line 318)
Returns the column descriptions for a table.
The return value is an associative array keyed by the column name, as returned by the RDBMS.
The value of each array element is an associative array with the following keys:
SCHEMA_NAME => string; name of database or schema TABLE_NAME => string; COLUMN_NAME => string; column name COLUMN_POSITION => number; ordinal position of column in table DATA_TYPE => string; SQL datatype name of column DEFAULT => string; default expression of column, null if none NULLABLE => boolean; true if column can have nulls LENGTH => number; length of CHAR/VARCHAR SCALE => number; scale of NUMERIC/DECIMAL PRECISION => number; precision of NUMERIC/DECIMAL UNSIGNED => boolean; unsigned property of an integer type PRIMARY => boolean; true if column is part of the primary key
getQuoteIdentifierSymbol (line 258)
insert (line 484)
Inserts a table row with specified data.
lastInsertId (line 362)
Gets the last inserted ID.
The IDENTITY_VAL_LOCAL() function gives the last generated identity value in the current process, even if it was for a GENERATED column. The parameters to this function are not significant.
limit (line 448)
Adds an adapter-specific LIMIT clause to the SELECT statement.
listTables (line 270)
Returns a list of the tables in the database.
prepare (line 206)
Returns an SQL statement for preparation.
setFetchMode (line 425)
Set the fetch mode.
update (line 530)
Updates table rows with specified data based on a WHERE clause.
_beginTransaction (line 383)
Begin a transaction.
_commit (line 393)
Commit a transaction.
_connect (line 140)
Creates a connection resource.
_getExecuteMode (line 219)
Gets the execution mode
_quote (line 248)
Quote a raw string.
_rollBack (line 409)
Rollback a transaction.
_setExecuteMode (line 228)
Inherited From Zend_Db_Adapter_Abstract
Zend_Db_Adapter_Abstract::__construct()
Zend_Db_Adapter_Abstract::beginTransaction()
Zend_Db_Adapter_Abstract::commit()
Zend_Db_Adapter_Abstract::delete()
Zend_Db_Adapter_Abstract::describeTable()
Zend_Db_Adapter_Abstract::fetchAll()
Zend_Db_Adapter_Abstract::fetchAssoc()
Zend_Db_Adapter_Abstract::fetchCol()
Zend_Db_Adapter_Abstract::fetchOne()
Zend_Db_Adapter_Abstract::fetchPairs()
Zend_Db_Adapter_Abstract::fetchRow()
Zend_Db_Adapter_Abstract::getConnection()
Zend_Db_Adapter_Abstract::getFetchMode()
Zend_Db_Adapter_Abstract::getProfiler()
Zend_Db_Adapter_Abstract::getQuoteIdentifierSymbol()
Zend_Db_Adapter_Abstract::insert()
Zend_Db_Adapter_Abstract::lastInsertId()
Zend_Db_Adapter_Abstract::limit()
Zend_Db_Adapter_Abstract::listTables()
Zend_Db_Adapter_Abstract::prepare()
Zend_Db_Adapter_Abstract::query()
Zend_Db_Adapter_Abstract::quote()
Zend_Db_Adapter_Abstract::quoteIdentifier()
Zend_Db_Adapter_Abstract::quoteInto()
Zend_Db_Adapter_Abstract::rollBack()
Zend_Db_Adapter_Abstract::select()
Zend_Db_Adapter_Abstract::setFetchMode()
Zend_Db_Adapter_Abstract::update()
Zend_Db_Adapter_Abstract::_beginTransaction()
Zend_Db_Adapter_Abstract::_commit()
Zend_Db_Adapter_Abstract::_connect()
Zend_Db_Adapter_Abstract::_quote()
Zend_Db_Adapter_Abstract::_rollBack()
Documentation generated on Wed, 21 Feb 2007 11:46:50 -0800 by phpDocumentor 1.3.1