jDbFieldProperties
in package
Description of a field of a table.
Tags
Table of Contents
- $autoIncrement : bool
- says if the field is auto incremented.
- $comment : mixed
- dao and form use this feature.
- $default : string
- default value.
- $hasDefault : bool
- says if there is a default value.
- $length : mixed
- $maxLength : mixed
- $maxValue : mixed
- $minLength : mixed
- $minValue : mixed
- $name : string
- field name.
- $notNull : bool
- says if the field can be null or not.
- $primary : bool
- says if the field is the primary key.
- $sequence : string
- if there is a sequence.
- $type : string
- native type of the field.
- $unifiedType : string
- unified type of the field.
- $unsigned : mixed
Properties
$autoIncrement
says if the field is auto incremented.
public
bool
$autoIncrement
= \false
Tags
$comment
dao and form use this feature.
public
mixed
$comment
Tags
$default
default value.
public
string
$default
= ''
Tags
$hasDefault
says if there is a default value.
public
bool
$hasDefault
= \false
Tags
$length
public
mixed
$length
= 0
Tags
$maxLength
public
mixed
$maxLength
Tags
$maxValue
public
mixed
$maxValue
Tags
$minLength
public
mixed
$minLength
Tags
$minValue
public
mixed
$minValue
Tags
$name
field name.
public
string
$name
Tags
$notNull
says if the field can be null or not.
public
bool
$notNull
= \true
Tags
$primary
says if the field is the primary key.
public
bool
$primary
= \false
Tags
$sequence
if there is a sequence.
public
string
$sequence
= \false
Tags
$type
native type of the field.
public
string
$type
Tags
$unifiedType
unified type of the field.
public
string
$unifiedType
Tags
$unsigned
public
mixed
$unsigned
= \false