Class: Doctrine_DataDict_Sqlite
Source Location: /Doctrine/DataDict/Sqlite.phpClass Doctrine_DataDict_Sqlite
Located in /Doctrine/DataDict/Sqlite.php [line 33] Doctrine_Connection_Module | --Doctrine_DataDict | --Doctrine_DataDict_SqliteAuthor(s):
|
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Connection_Module |
Inherited From Doctrine_DataDict
Inherited From Doctrine_Connection_Module
|
string | getIntegerDeclaration() | Obtain DBMS specific SQL code portion needed to declare an integer type field to be used in statements like CREATE TABLE. |
string | getNativeDeclaration() | Obtain DBMS specific SQL code portion needed to declare an text type field to be used in statements like CREATE TABLE. |
array | getPortableDeclaration() | Maps a native array description of a field to Doctrine datatype and length |
|
Obtain DBMS specific SQL code portion needed to declare an integer type field to be used in statements like CREATE TABLE.
Parameters:string | $name: | name the field to be declared. |
array | $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 Boolean flag that indicates whether the field should be declared as unsigned integer if possible. default Integer value to be used as default for this field. notnull Boolean flag that indicates whether this field is constrained to not be set to null. |
API Tags:
Return: | DBMS specific SQL code portion that should be used to declare the specified field. |
Access: | public |
|
Obtain DBMS specific SQL code portion needed to declare an text type field to be used in statements like CREATE TABLE.
Parameters:array | $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 value that determines the maximum length of the text field. If this argument is missing the field should be declared to have the longest length allowed by the DBMS. default Text value to be used as default for this field. notnull Boolean flag that indicates whether this field is constrained to not be set to null. |
API Tags:
Return: | DBMS specific SQL code portion that should be used to declare the specified field. |
Access: | public |
Information Tags:
Author: | Lukas Smith (PEAR MDB2 library) |