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_Sqlite

Doctrine Export Sqlite

Inheritence

Doctrine_Export_Sqlite  < Doctrine_Export  < Doctrine_Connection_Module

Method Details

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


  • $databaseFile Path of the database that should be dropped

    createDatabase($databaseFile)

    Create sqlite database file


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

    throws PDOException


  • $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 values are associ
    $options An associative array of table options:

    createTableSql($name, $fields, $options = array())

    create a new table


  • $databaseFile Path of the database that should be dropped

    dropDatabase($databaseFile)

    drop an existing database

    throws Doctrine_Export_Exception if something failed during the removal of the database file


  • $sequenceName name of the sequence to be dropped

    (string) dropSequenceSql($sequenceName)

    drop existing sequence


  • $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) getIndexFieldDeclarationList($fields)

    getIndexFieldDeclarationList Obtain DBMS specific SQL code portion needed to set an index declaration to be used in statements like CREATE TABLE.


Comments (0) [ add comment ]

 No Comments

Add Comment

Add New Comment
Please enter follow the doctrine