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

0.10 Doctrine_Export_Pgsql

Doctrine Export Pgsql

Inheritence

Doctrine_Export_Pgsql  < Doctrine_Export  < Doctrine_Connection_Module

Method Details

  • $name name of the database that should be dropped

    dropDatabaseSql($name)

    drop an existing database

    throws PDOException


  • (unknown) createTableSql((unknown_type) $name, $fields, $options = array())

    Creates a 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, ...


  • $sequenceName name of the sequence to be dropped

    dropSequenceSql($sequenceName)

    drop existing sequence


  • $name name of the table that is intended to be changed.
    $changes associative array that contains the details of each type *
    $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.

    (array) alterTableSql($name, $changes, $check = false)

    generates the sql for altering an existing table on postgresql


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

    (boolean) alterTable($name, $changes, $check = false)

    alter an existing table

    throws Doctrine_Connection_Exception


  • $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', );
    $seqName name of the sequence to be created

    (string) createSequenceSql($sequenceName, $start = 1, $options = array(), $seqName)

    return RDBMS specific create sequence statement

    throws Doctrine_Connection_Exception if something fails at database level


  • createDatabaseSql($name)


Comments (0) [ add comment ]

 No Comments

Add Comment

Add New Comment
Please enter follow the doctrine