0.11 Doctrine_DataDict_Mysql
Doctrine DataDict Mysql
Inheritence
Doctrine_DataDict_Mysql < Doctrine_DataDict < Doctrine_Connection_Module
Method Summary
- string getIntegerDeclaration
- string getCharsetFieldDeclaration
- string getCollationFieldDeclaration
- string getNativeDeclaration
- array getPortableDeclaration
Method Details
-
$name name the field to be declared. $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:
unsigned
(string) getIntegerDeclaration($name, $field)
Obtain DBMS specific SQL code portion needed to declare an integer type field to be used in statements like CREATE TABLE.
Doctrine_DataDict_Mysql
-
$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 MDB2 datatype and length
Doctrine_DataDict_Mysql




Comments (0) [ add comment ]
No Comments
Add Comment