|
| _createSuffix ($fname, &$ftype, $fnotnull, $fdefault, $fautoinc, $fconstraint, $funsigned) |
|
| _dropAutoIncrement ($tabname) |
|
| _genFields ($flds, $widespacing=false) |
|
| _getSize ($ftype, $ty, $fsize, $fprec, $options=false) |
| GENERATE THE SIZE PART OF THE DATATYPE $ftype is the actual type $ty is the type defined originally in the DDL.
|
|
| _getSizePrec ($size) |
|
| _indexSQL ($idxname, $tabname, $flds, $idxoptions) |
|
| _options ($opts) |
| Sanitize options, so that array elements with no keys are promoted to keys.
|
|
| _tableSQL ($tabname, $lines, $pkey, $tableoptions) |
|
| _triggers ($tabname, $taboptions) |
| GENERATE TRIGGERS IF NEEDED used when table has auto-incrementing field that is emulated using triggers.
|
|
| ActualType ($meta) |
|
| actualType ($meta) |
| Returns the actual type given a character code.
|
|
| addColumnSQL ($tabname, $flds) |
|
| AlterColumnSQL ($tabname, $flds, $tableflds='', $tableoptions='') |
|
| alterColumnSQL ($tabname, $flds, $tableflds='', $tableoptions='') |
| Change the definition of one column.
|
|
| changeTableSQL ($tablename, $flds, $tableoptions=false, $dropOldFlds=false) |
| This function changes/adds new fields to your table.
|
|
| createDatabase ($dbname, $options=false) |
|
| createIndexSQL ($idxname, $tabname, $flds, $idxoptions=false) |
|
| createTableSQL ($tabname, $flds, $tableoptions=array()) |
| Generate the SQL to create table.
|
|
| DropColumnSQL ($tabname, $flds, $tableflds='', $tableoptions='') |
|
| dropColumnSQL ($tabname, $flds, $tableflds='', $tableoptions='') |
| Drop one column.
|
|
| dropIndexSQL ($idxname, $tabname=NULL) |
|
| dropTableSQL ($tabname) |
|
| executeSQLArray ($sql, $continueOnError=true) |
|
| getCommentSQL ($table, $col) |
|
| metaColumns ($tab, $upper=true, $schema=false) |
|
| metaIndexes ($table, $primary=false, $owner=false) |
|
| metaPrimaryKeys ($tab, $owner=false, $intkey=false) |
|
| metaTables () |
|
| metaType ($t, $len=-1, $fieldobj=false) |
|
| nameQuote ($name=NULL, $allowBrackets=false) |
|
| renameColumnSQL ($tabname, $oldcolumn, $newcolumn, $flds='') |
| Rename one column.
|
|
| renameTableSQL ($tabname, $newname) |
|
| setCommentSQL ($table, $col, $cmt) |
|
| setSchema ($schema) |
|
| tableName ($name) |
|
|
| $addCol = ' ADD' |
|
| $alterCol = ' ALTER COLUMN' |
|
| $autoIncrement = false |
|
| $blobAllowsDefaultValue |
|
| $blobAllowsNotNull |
|
| $blobSize = 100 |
|
ADOConnection | $connection |
|
| $databaseType = 'generic' |
|
| $dataProvider |
|
| $debug = false |
|
| $dropCol = ' DROP COLUMN' |
|
| $dropIndex = 'DROP INDEX %s' |
|
| $dropTable = 'DROP TABLE %s' |
|
| $invalidResizeTypes4 = array('CLOB','BLOB','TEXT','DATE','TIME') |
|
| $nameRegex = '\w' |
|
| $nameRegexBrackets = 'a-zA-Z0-9_\(\)' |
|
string | $quote |
| String to use to quote identifiers and names.
|
|
| $renameColumn = 'ALTER TABLE %s RENAME COLUMN %s TO %s' |
|
| $renameTable = 'RENAME TABLE %s TO %s' |
|
| $schema = false |
|
| $seqField = false |
|
| $serverInfo = array() |
|
string | $upperName |
| any varchar/char field this size or greater is treated as a blob in other words, we use a text area for editing.
|
|