Jelix 1.6.40

jDbFieldProperties
in package

Description of a field of a table

Tags
subpackage

db

see
jDbTools::getFieldList

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 = alse

$hasDefault

says if there is a default value

public bool $hasDefault = alse

$notNull

says if the field can be null or not

public bool $notNull = rue

$primary

says if the field is the primary key

public bool $primary = alse

$unifiedtype

unified type of the field

public string $unifiedtype

Search results