0.10 Doctrine_DataDict_Pgsql
Doctrine DataDict Pgsql
Inheritence
Doctrine_DataDict_Pgsql < Doctrine_DataDict < Doctrine_Connection_Module
Method Summary
- string getIntegerDeclaration
- string getNativeDeclaration
- array getPortableDeclaration
- string parseBoolean
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 Boolea
(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_Pgsql
-
$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_Pgsql
-
$field native field description (array) getPortableDeclaration($field)
Maps a native array description of a field to a portable Doctrine datatype and length
Doctrine_DataDict_Pgsql
-
$value boolean value to be parsed (string) parseBoolean($value)
parseBoolean parses a literal boolean value and returns proper sql equivalent
Doctrine_DataDict_Pgsql




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