"TYPO3 4.0.1: ADODB_ODBC_DB2 Class Reference", "datetime" => "Sat Dec 2 19:23:30 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

ADODB_ODBC_DB2 Class Reference

Inheritance diagram for ADODB_ODBC_DB2:

Inheritance graph
[legend]
Collaboration diagram for ADODB_ODBC_DB2:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ADODB_DB2 ()
 IfNull ($field, $ifNull)
 ServerInfo ()
 _insertid ()
 RowLock ($tables, $where, $flds='1 as ignore')
MetaTables ($ttype=false, $showSchema=false, $qtable="%", $qschema="%")
MetaIndexes ($table, $primary=FALSE, $owner=false)
 SQLDate ($fmt, $col=false)
SelectLimit ($sql, $nrows=-1, $offset=-1, $inputArr=false)

Public Attributes

 $databaseType = "db2"
 $concat_operator = '||'
 maximum size of blobs or large text fields (262144 = 256K)-- some db's die otherwise like foxpro
 $sysTime = 'CURRENT TIME'
 $sysDate = 'CURRENT DATE'
 cache for 1 hour
 $sysTimeStamp = 'CURRENT TIMESTAMP'
 name of function that returns the current date
 $fmtTimeStamp = "'Y-m-d-H.i.s'"
 used by DBDate() as the default date format used by the database
 $ansiOuter = true
 operator to use for right outer join in WHERE clause
 $identitySQL = 'values IDENTITY_VAL_LOCAL()'
 $_bindInputArray = true
 A boolean variable to state whether its a persistent connection or normal connection. */.
 $hasInsertID = true
 $rsPrefix = 'ADORecordset_odbc_'

Detailed Description

Definition at line 98 of file adodb-odbc_db2.inc.php.


Member Function Documentation

& ADODB_ODBC_DB2::MetaIndexes table,
primary = FALSE,
owner = false
 

List indexes on a table as an array.

Parameters:
table table name to query
primary true to only show primary keys. Not actually used for most databases
Returns:
array of indexes on current table. Each element represents an index, and is itself an associative array.
Array ( [name_of_index] => Array ( [unique] => true or false [columns] => Array ( [0] => firstname [1] => lastname ) )

Reimplemented from ADOConnection.

Definition at line 187 of file adodb-odbc_db2.inc.php.

ADODB_ODBC_DB2::ServerInfo  ) 
 

Get server version info...

Returns:
An array with 2 elements: $arr['string'] is the description string, and $arr[version] is the version (also a string).

Reimplemented from ADODB_odbc.

Definition at line 124 of file adodb-odbc_db2.inc.php.

References ADOConnection::GetOne().


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