1.0 Doctrine_Export_Firebird
Doctrine Export Firebird
Doctrine_Export_Sqlite
Inheritence
Doctrine_Export_Firebird < Doctrine_Export < Doctrine_Connection_Module
Method Summary
| Returns | Name | Description |
|---|---|---|
| alterTable | ||
| checkSupportedChanges | ||
| createConstraint | ||
| createDatabase | ||
| createIndexSql | ||
| boolean | createSequence | |
| createTable | ||
| dropDatabase | ||
| dropSequenceSql | ||
| mixed | dropTable | |
| string | getTemporaryTableQuery | |
| _dropAutoincrement | ||
| _makeAutoincrement |
Methods inherited from Doctrine_Export
exportSchema , dropDatabaseSql , exportGeneratorsSql , createConstraintSql , dropSequence , createIndexSql , getDeclaration , createTableSql , getDefaultFieldDeclaration , getAdvancedForeignKeyOptions , dropDatabase , exportClassesSql , getCharsetFieldDeclaration , getCollationFieldDeclaration , dropIndex , dropSequenceSql , createConstraint , alterTableSql , exportTable , getForeignKeyBaseDeclaration , createForeignKeySql , getCheckDeclaration , exportClasses , dropTable , exportSql , getForeignKeyReferentialAction , alterTable , dropIndexSql , dropTableSql , dropConstraint , createSequence , createIndex , getUniqueFieldDeclaration , getForeignKeyDeclaration , getTemporaryTableQuery , dropForeignKey , createSequenceSql , getIndexDeclaration , getAllGenerators , createDatabase , createForeignKey , getFieldDeclarationList , createTable , createDatabaseSql , getIndexFieldDeclarationListMethod Details
-
$name name of the table that is intended to be changed. $changes associative array that contains the details of each type of change that is intended to be performed. The types of changes that are currently supported are defined as follows:
name
New name f
$check indicates whether the function should just check if the DBMS driver can perform the requested table alterations if the value is true or actually perform them otherwise. alterTable($name, $changes, $check = false)
alter an existing table
-
$name name of the database that should be dropped checkSupportedChanges([[[amp]]]$changes, $name)
Check if planned changes are supported
-
$table name of the table on which the constraint is to be created $name name of the constraint to be created $definition associative array that defines properties of the constraint to be created. Currently, only one property named FIELDS is supported. This property is also an ass
createConstraint($table, $name, $definition)
create a constraint on a table
-
$name name of the database that should be created createDatabase($name)
create a new database
-
$table name of the table on which the index is to be created $name name of the index to be created $definition associative array that defines properties of the index to be created. Currently, only one property named FIELDS is supported. This property is also an associative with the names of the i
createIndexSql($table, $name, $definition)
Get the stucture of a field into an array
-
$seqName name of the sequence to be created $start start value of the sequence; default is 1 $options An associative array of table options: array( 'comment' => 'Foo', 'charset' => 'utf8', 'collate' => 'utf8_unicode_ci', ); (boolean) createSequence($seqName, $start = 1, $options = array())
create sequence
-
$name Name of the database that should be created $fields Associative array that contains the definition of each field of the new table The indexes of the array entries are the names of the fields of the table an the array entry
$options An associative array of table options: createTable($name, $fields, $options = array())
create a new table
-
$name name of the database that should be dropped dropDatabase($name)
drop an existing database
-
$seqName name of the sequence to be dropped dropSequenceSql($seqName)
drop existing sequence
-
$name name of the table that should be dropped (mixed) dropTable($name)
drop an existing table
Doctrine_Export_Firebird
-
(string) getTemporaryTableQuery()
A method to return the required SQL string that fits between CREATE ... TABLE to create the table as a temporary table.
Doctrine_Export_Firebird
-
$table name of the table _dropAutoincrement($table)
drop an existing autoincrement sequence + trigger
-
$name name of the PK field $table name of the table $start start value for the sequence _makeAutoincrement($name, $table, $start = null)
add an autoincrement sequence + trigger