

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' | |
| Use 'true' to store the item compressed (uses zlib). | |
| $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_' | |
Definition at line 98 of file adodb-odbc_db2.inc.php.
| ADODB_ODBC_DB2.ADODB_DB2 | ( | ) |
Definition at line 113 of file adodb-odbc_db2.inc.php.
References ADODB_odbc.ADODB_odbc().

| ADODB_ODBC_DB2.IfNull | ( | $ | field, | |
| $ | ifNull | |||
| ) |
| ADODB_ODBC_DB2.ServerInfo | ( | ) |
Get server version info...
Reimplemented from ADODB_odbc.
Definition at line 124 of file adodb-odbc_db2.inc.php.
References ADOConnection.GetOne().

| ADODB_ODBC_DB2._insertid | ( | ) |
Definition at line 132 of file adodb-odbc_db2.inc.php.
References ADOConnection.GetOne().

| ADODB_ODBC_DB2.RowLock | ( | $ | tables, | |
| $ | where, | |||
| $ | flds = '1 as ignore' | |||
| ) |
Definition at line 137 of file adodb-odbc_db2.inc.php.
References ADODB_odbc.BeginTrans(), and ADOConnection.GetOne().

| & ADODB_ODBC_DB2.MetaTables | ( | $ | ttype = false, |
|
| $ | showSchema = false, |
|||
| $ | qtable = "%", |
|||
| $ | qschema = "%" | |||
| ) |
Definition at line 143 of file adodb-odbc_db2.inc.php.
References $ADODB_FETCH_MODE, $arr, ADOConnection.$false, and $rs.
| & ADODB_ODBC_DB2.MetaIndexes | ( | $ | table, | |
| $ | primary = FALSE, |
|||
| $ | owner = false | |||
| ) |
List indexes on a table as an array.
| table | table name to query | |
| primary | true to only show primary keys. Not actually used for most databases |
Reimplemented from ADOConnection.
Definition at line 187 of file adodb-odbc_db2.inc.php.
References $ADODB_FETCH_MODE, ADOConnection.$false, $row, $rs, ADOConnection.Execute(), and ADOConnection.SetFetchMode().

| ADODB_ODBC_DB2.SQLDate | ( | $ | fmt, | |
| $ | col = false | |||
| ) |
Reimplemented from ADOConnection.
Definition at line 227 of file adodb-odbc_db2.inc.php.
References $s, and ADOConnection.qstr().

| & ADODB_ODBC_DB2.SelectLimit | ( | $ | sql, | |
| $ | nrows = -1, |
|||
| $ | offset = -1, |
|||
| $ | inputArr = false | |||
| ) |
Definition at line 281 of file adodb-odbc_db2.inc.php.
References $rs, $sql, ADOConnection.Execute(), and ADOConnection.SelectLimit().

| ADODB_ODBC_DB2.$databaseType = "db2" |
| ADODB_ODBC_DB2.$concat_operator = '||' |
maximum size of blobs or large text fields (262144 = 256K)-- some db's die otherwise like foxpro
Reimplemented from ADOConnection.
Definition at line 100 of file adodb-odbc_db2.inc.php.
| ADODB_ODBC_DB2.$sysTime = 'CURRENT TIME' |
Definition at line 101 of file adodb-odbc_db2.inc.php.
| ADODB_ODBC_DB2.$sysDate = 'CURRENT DATE' |
Use 'true' to store the item compressed (uses zlib).
Reimplemented from ADOConnection.
Definition at line 102 of file adodb-odbc_db2.inc.php.
| ADODB_ODBC_DB2.$sysTimeStamp = 'CURRENT TIMESTAMP' |
name of function that returns the current date
Reimplemented from ADOConnection.
Definition at line 103 of file adodb-odbc_db2.inc.php.
| ADODB_ODBC_DB2.$fmtTimeStamp = "'Y-m-d-H.i.s'" |
used by DBDate() as the default date format used by the database
Reimplemented from ADODB_odbc.
Definition at line 106 of file adodb-odbc_db2.inc.php.
| ADODB_ODBC_DB2.$ansiOuter = true |
operator to use for right outer join in WHERE clause
Reimplemented from ADOConnection.
Definition at line 107 of file adodb-odbc_db2.inc.php.
| ADODB_ODBC_DB2.$identitySQL = 'values IDENTITY_VAL_LOCAL()' |
Definition at line 108 of file adodb-odbc_db2.inc.php.
| ADODB_ODBC_DB2.$_bindInputArray = true |
A boolean variable to state whether its a persistent connection or normal connection. */.
Reimplemented from ADODB_odbc.
Definition at line 109 of file adodb-odbc_db2.inc.php.
| ADODB_ODBC_DB2.$hasInsertID = true |
| ADODB_ODBC_DB2.$rsPrefix = 'ADORecordset_odbc_' |