Pt_BR En Ja De Fr 
You are currently viewing the 0.11 branch api documentation. Switch to 1.0

0.11 Doctrine_Export_Oracle

Doctrine Export Oracle

Inheritence

Doctrine_Export_Oracle  < Doctrine_Export  < Doctrine_Connection_Module

Method Details

  • $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


  • $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, ...


  • $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


  • $table name of the table

    dropAutoincrement($table)

    drop an existing autoincrement sequence + trigger


  • $name name of the table that should be dropped

    dropTable($name)

    drop an existing table


  • $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


  • (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


  • $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
    $db database object that is extended by this class

    (mixed) createDatabase($name, $db)

    create a new database

    Doctrine_Export_Oracle


  • $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 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


Comments (0) [ add comment ]

 No Comments

Add Comment

Add New Comment
Please enter follow the doctrine