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 large object field. If this argument is missing the field should be declared to have the longest length allowed by the DBMS.
notnull Boolean flag that indicates whether this field is constrained to not be set to null.
Obtain DBMS specific SQL code portion needed to declare an character large object 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
Overrides MDB2_Driver_Datatype_Common::getCLOBDeclaration() (Obtain DBMS specific SQL code portion needed to declare an character large object type field to be used in statements like CREATE TABLE.)
Parameters:
string
$name
—
name the field to be declared.
string
$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 large object field. If this argument is missing the field should be declared to have the longest length allowed by the DBMS.
notnull Boolean flag that indicates whether this field is constrained to not be set to null.
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:
default Date 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.
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:
default Decimal 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.
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:
default Float 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.
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.
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:
default Time 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.
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:
default Time stamp 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.
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:
string
$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.