

Public Member Functions | |
| MetaType ($t, $len=-1, $fieldobj=false) | |
| ActualType ($meta) | |
| _CreateSuffix ($fname, $ftype, $fnotnull, $fdefault, $fautoinc, $fconstraint, $funsigned) | |
| _IndexSQL ($idxname, $tabname, $flds, $idxoptions) | |
Public Attributes | |
| $databaseType = 'mysql' | |
| $alterCol = ' MODIFY COLUMN' | |
| $alterTableAddIndex = true | |
| $dropTable = 'DROP TABLE IF EXISTS %s' | |
| $dropIndex = 'DROP INDEX %s ON %s' | |
| $renameColumn = 'ALTER TABLE %s CHANGE COLUMN %s %s %s' | |
Definition at line 16 of file datadict-mysql.inc.php.
| ADODB2_mysql::ActualType | ( | $ | meta | ) |
Returns the actual type given a character code.
C: varchar X: CLOB (character large object) or largest varchar size if CLOB is not supported C2: Multibyte varchar X2: Multibyte CLOB
B: BLOB (binary large object)
D: Date T: Date-time L: Integer field suitable for storing booleans (0 or 1) I: Integer F: Floating point number N: Numeric or decimal number
Reimplemented from ADODB_DataDict.
Definition at line 79 of file datadict-mysql.inc.php.