You are currently viewing the Development branch api documentation. Switch to 1.0 or 1.1

Development Doctrine_DataDict_Mysql

Doctrine DataDict Mysql

Inheritence

Doctrine_DataDict_Mysql  < Doctrine_DataDict  < Doctrine_Connection_Module

Method Details

  • $charset name of the charset

    (string) getCharsetFieldDeclaration($charset)

    Obtain DBMS specific SQL code portion needed to set the CHARACTER SET of a field declaration to be used in statements like CREATE TABLE.

    Doctrine_DataDict_Mysql


  • $collation name of the collation

    (string) getCollationFieldDeclaration($collation)

    Obtain DBMS specific SQL code portion needed to set the COLLATION of a field declaration to be used in statements like CREATE TABLE.

    Doctrine_DataDict_Mysql


  • $field

    associative array with the name of the properties of the field being declared as array indexes. Currently, the types of supported field properties are as follows:

    length Integer val

    (string) getNativeDeclaration($field)

    Obtain DBMS specific SQL code portion needed to declare an text type field to be used in statements like CREATE TABLE.

    Doctrine_DataDict_Mysql


  • $field native field description

    (array) getPortableDeclaration($field)

    Maps a native array description of a field to a Doctrine datatype and length

    Doctrine_DataDict_Mysql