jDbFieldProperties

Description of a field of a table

package

jelix

subpackage

db

see

Methods

Properties

native type of the field

type : string
var

Type(s)

string

unified type of the field

unifiedtype : string
var

Type(s)

string

field name

name : string
var

Type(s)

string

says if the field can be null or not

notNull : boolean
var

Type(s)

boolean

says if the field is the primary key

primary : boolean
var

Type(s)

boolean

says if the field is auto incremented

autoIncrement : boolean
var

Type(s)

boolean

default value

default : string
var

Type(s)

string

says if there is a default value

hasDefault : boolean
var

Type(s)

boolean

length

length : 

Type(s)

if there is a sequence

sequence : string
var

Type(s)

string

unsigned

unsigned : 

Type(s)

minLength

minLength : 

Type(s)

maxLength

maxLength : 

Type(s)

minValue

minValue : 

Type(s)

maxValue

maxValue : 

Type(s)

dao and form use this feature

comment : 

Type(s)