Jelix 1.7.18

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

$sequence

if there is a sequence.

public string $sequence = alse

$unifiedType

unified type of the field.

public string $unifiedType

Search results