0.10 Doctrine_Export_Oracle
Doctrine Export Oracle
Inheritence
Doctrine_Export_Oracle < Doctrine_Export < Doctrine_Connection_Module
Method Summary
| Returns | Name | Description |
|---|---|---|
| alterTable | ||
| mixed | createDatabase | |
| string | createSequenceSql | |
| createTable | ||
| createTableSql | ||
| dropAutoincrement | ||
| mixed | dropDatabase | |
| string | dropSequenceSql | |
| dropTable | ||
| string | getAdvancedForeignKeyOptions | |
| string | getTemporaryTableQuery | |
| mixed | _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 created $db database object that is extended by this class (mixed) createDatabase($name, $db)
create a new database
Doctrine_Export_Oracle
-
$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', ); (string) createSequenceSql($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 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: createTableSql($name, $fields, $options = array())
create a new table
-
$table name of the table dropAutoincrement($table)
drop an existing autoincrement sequence + trigger
-
$name name of the database that should be dropped $this->conn database object that is extended by this class (mixed) dropDatabase($name, $this->conn)
drop an existing database
Doctrine_Export_Oracle
-
$seqName name of the sequence to be dropped $this->conn database object that is extended by this class (string) dropSequenceSql($seqName, $this->conn)
drop existing sequence
-
$name name of the table that should be dropped dropTable($name)
drop an existing table
-
$definition foreign key definition (string) getAdvancedForeignKeyOptions($definition)
getAdvancedForeignKeyOptions Return the FOREIGN KEY query section dealing with non-standard options as MATCH, INITIALLY DEFERRED, ON UPDATE, ...
-
(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_Oracle
-
$name name of the PK field $table name of the table $start start value for the sequence (mixed) _makeAutoincrement($name, $table, $start = 1)
add an autoincrement sequence + trigger
Doctrine_Export_Oracle