Public Member Functions
|ADORecordSet_db2 ($id, $mode=false)|
|MetaType ($t, $len=-1, $fieldobj=false)|
|$databaseType = "db2"|
Definition at line 303 of file adodb-odbc_db2.inc.php.
|$|| len =
|$|| fieldobj = |
Get the metatype of the column. This is used for formatting. This is because many databases use different names for the same type, so we transform the original type to our standardised version which uses 1 character codes:
|t||is the type passed in. Normally is ADOFieldObject->type.|
|len||is the maximum length of that field. This is because we treat character fields bigger than a certain size as a 'B' (blob).|
|fieldobj||is the field object returned by the database driver. Can hold additional info (eg. primary_key for mysql).|
Reimplemented from ADORecordSet.