Documentation TYPO3 par Ameos

ADODB2_db2 Class Reference

Inheritance diagram for ADODB2_db2:

Inheritance graph
[legend]
Collaboration diagram for ADODB2_db2:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ActualType ($meta)
 _CreateSuffix ($fname, $ftype, $fnotnull, $fdefault, $fautoinc, $fconstraint)
 AlterColumnSQL ($tabname, $flds)
 DropColumnSQL ($tabname, $flds)
 ChangeTableSQL ($tablename, $flds, $tableoptions=false)

Public Attributes

 $databaseType = 'db2'
 $seqField = false

Detailed Description

Definition at line 15 of file datadict-db2.inc.php.


Member Function Documentation

ADODB2_db2::ChangeTableSQL tablename,
flds,
tableoptions = false
 

Allow basic table changes to DB2 databases DB2 will fatally reject changes to non character columns

If the first field of $v is the fieldname, and the second is the field type/size, we assume its an attempt to modify the column size, so check that it is allowed $v can have an indeterminate number of blanks between the fields, so account for that too

Reimplemented from ADODB_DataDict.

Definition at line 74 of file datadict-db2.inc.php.

References ADODB_DataDict::_GenFields(), ADODB_DataDict::CreateTableSQL(), ADODB_DataDict::MetaColumns(), and ADODB_DataDict::TableName().


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


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6