MDB2
[ class tree: MDB2 ] [ index: MDB2 ] [ all elements ]

Class: MDB2_Driver_Datatype_querysim

Source Location: /MDB2_Driver_querysim-0.7.0/MDB2/Driver/Datatype/querysim.php

Class Overview

MDB2_Driver_Datatype_Common
   |
   --MDB2_Driver_Datatype_querysim

MDB2 QuerySim driver


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 58]
MDB2 QuerySim driver


[ Top ]


Method Detail

getTypeDeclaration   [line 85]

string getTypeDeclaration( array $field)

Obtain DBMS specific SQL code portion needed to declare an text type field to be used in statements like CREATE TABLE.
  • Return: DBMS specific SQL code portion that should be used to declare the specified field.
  • Access: public

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.


[ Top ]


Documentation generated on Tue, 23 Oct 2012 18:31:08 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.